public abstract class ContactCenterInsightsClient
Reference documentation and code samples for the Contact Center AI Insights v1 API class ContactCenterInsightsClient.
ContactCenterInsights client wrapper, for convenient use.
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 |
BulkDeleteConversationsOperationsClient
public virtual OperationsClient BulkDeleteConversationsOperationsClient { get; }
The long-running operations client for BulkDeleteConversations
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BulkDownloadFeedbackLabelsOperationsClient
public virtual OperationsClient BulkDownloadFeedbackLabelsOperationsClient { get; }
The long-running operations client for BulkDownloadFeedbackLabels
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BulkUploadFeedbackLabelsOperationsClient
public virtual OperationsClient BulkUploadFeedbackLabelsOperationsClient { get; }
The long-running operations client for BulkUploadFeedbackLabels
.
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 |
ExportIssueModelOperationsClient
public virtual OperationsClient ExportIssueModelOperationsClient { get; }
The long-running operations client for ExportIssueModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual ContactCenterInsights.ContactCenterInsightsClient GrpcClient { get; }
The underlying gRPC ContactCenterInsights client
Property Value | |
---|---|
Type | Description |
ContactCenterInsightsContactCenterInsightsClient |
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
ImportIssueModelOperationsClient
public virtual OperationsClient ImportIssueModelOperationsClient { get; }
The long-running operations client for ImportIssueModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
IngestConversationsOperationsClient
public virtual OperationsClient IngestConversationsOperationsClient { get; }
The long-running operations client for IngestConversations
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
InitializeEncryptionSpecOperationsClient
public virtual OperationsClient InitializeEncryptionSpecOperationsClient { get; }
The long-running operations client for InitializeEncryptionSpec
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
QueryMetricsOperationsClient
public virtual OperationsClient QueryMetricsOperationsClient { get; }
The long-running operations client for QueryMetrics
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
TuneQaScorecardRevisionOperationsClient
public virtual OperationsClient TuneQaScorecardRevisionOperationsClient { get; }
The long-running operations client for TuneQaScorecardRevision
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 |
LocationName Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettings If 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 |
BulkAnalyzeConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
cancellationToken |
CancellationToken A 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 |
BulkAnalyzeConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
BulkAnalyzeConversationsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettings If 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 |
string Required. The parent resource to create analyses in. |
filter |
string Required. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
float Required. Percentage of selected conversation to analyze, between [0, 100]. |
cancellationToken |
CancellationToken A 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;
}
BulkDeleteConversations(LocationName, string, CallSettings)
public virtual Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> BulkDeleteConversations(LocationName parent, string filter, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string filter = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversations(BulkDeleteConversationsRequest, CallSettings)
public virtual Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> BulkDeleteConversations(BulkDeleteConversationsRequest request, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
request |
BulkDeleteConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
MaxDeleteCount = 0,
Force = false,
};
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = contactCenterInsightsClient.BulkDeleteConversations(request);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversations(string, string, CallSettings)
public virtual Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> BulkDeleteConversations(string parent, string filter, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string filter = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(LocationName, string, CallSettings)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(LocationName parent, string filter, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
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 = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(LocationName, string, CancellationToken)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(LocationName parent, string filter, CancellationToken cancellationToken)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
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 = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, CallSettings)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
request |
BulkDeleteConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
MaxDeleteCount = 0,
Force = false,
};
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, CancellationToken)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, CancellationToken cancellationToken)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
request |
BulkDeleteConversationsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
MaxDeleteCount = 0,
Force = false,
};
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(string, string, CallSettings)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(string parent, string filter, CallSettings callSettings = null)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
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 = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDeleteConversationsAsync(string, string, CancellationToken)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> BulkDeleteConversationsAsync(string parent, string filter, CancellationToken cancellationToken)
Deletes multiple conversations in a single request.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
string Filter used to select the subset of conversations to delete. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
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 = "";
// Make the request
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter);
// Poll until the returned long-running operation is complete
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDeleteConversationsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabels(LocationName, CallSettings)
public virtual Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> BulkDownloadFeedbackLabels(LocationName parent, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest, CallSettings)
public virtual Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest request, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkDownloadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(),
MaxDownloadCount = 0,
FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified,
ConversationFilter = "",
TemplateQaScorecardId = { "", },
};
// Make the request
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(request);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabels(string, CallSettings)
public virtual Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> BulkDownloadFeedbackLabels(string parent, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(LocationName, CallSettings)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(LocationName parent, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
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<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(LocationName, CancellationToken)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(LocationName parent, CancellationToken cancellationToken)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
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<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest, CallSettings)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest request, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkDownloadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(),
MaxDownloadCount = 0,
FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified,
ConversationFilter = "",
TemplateQaScorecardId = { "", },
};
// Make the request
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest, CancellationToken)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest request, CancellationToken cancellationToken)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkDownloadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(),
MaxDownloadCount = 0,
FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified,
ConversationFilter = "",
TemplateQaScorecardId = { "", },
};
// Make the request
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(string, CallSettings)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(string parent, CallSettings callSettings = null)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
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<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkDownloadFeedbackLabelsAsync(string, CancellationToken)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> BulkDownloadFeedbackLabelsAsync(string parent, CancellationToken cancellationToken)
Download feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
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<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkDownloadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabels(LocationName, CallSettings)
public virtual Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> BulkUploadFeedbackLabels(LocationName parent, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest, CallSettings)
public virtual Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest request, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkUploadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(),
ValidateOnly = false,
};
// Make the request
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkUploadFeedbackLabels(request);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabels(string, CallSettings)
public virtual Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> BulkUploadFeedbackLabels(string parent, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(LocationName, CallSettings)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(LocationName parent, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
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<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(LocationName, CancellationToken)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(LocationName parent, CancellationToken cancellationToken)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource for new feedback labels. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
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<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest, CallSettings)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest request, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkUploadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(),
ValidateOnly = false,
};
// Make the request
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest, CancellationToken)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest request, CancellationToken cancellationToken)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
request |
BulkUploadFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(),
ValidateOnly = false,
};
// Make the request
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(request);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(string, CallSettings)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(string parent, CallSettings callSettings = null)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
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<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result;
}
BulkUploadFeedbackLabelsAsync(string, CancellationToken)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> BulkUploadFeedbackLabelsAsync(string parent, CancellationToken cancellationToken)
Upload feedback labels in bulk.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new feedback labels. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
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<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent);
// Poll until the returned long-running operation is complete
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BulkUploadFeedbackLabelsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BulkUploadFeedbackLabelsResponse 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 |
CalculateIssueModelStatsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueModelName Required. The resource name of the issue model to query against. |
callSettings |
CallSettings If 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 |
string Required. The resource name of the issue model to query against. |
callSettings |
CallSettings If 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 |
CalculateIssueModelStatsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CalculateIssueModelStatsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueModelName Required. The resource name of the issue model to query against. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The resource name of the issue model to query against. |
cancellationToken |
CancellationToken A 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 |
string Required. The resource name of the issue model to query against. |
callSettings |
CallSettings If 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 |
string Required. The resource name of the issue model to query against. |
cancellationToken |
CancellationToken A 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 |
LocationName Required. The location of the conversations. |
callSettings |
CallSettings If 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 |
CalculateStatsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The location of the conversations. |
callSettings |
CallSettings If 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 |
LocationName Required. The location of the conversations. |
callSettings |
CallSettings If 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 |
LocationName Required. The location of the conversations. |
cancellationToken |
CancellationToken A 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 |
CalculateStatsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CalculateStatsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The location of the conversations. |
callSettings |
CallSettings If 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 |
string Required. The location of the conversations. |
cancellationToken |
CancellationToken A 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 |
ConversationName Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
callSettings |
CallSettings If 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 |
CreateAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
callSettings |
CallSettings If 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 |
ConversationName Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
callSettings |
CallSettings If 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 |
ConversationName Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
cancellationToken |
CancellationToken A 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 |
CreateAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CreateAnalysisRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the analysis. |
analysis |
Analysis Required. The analysis to create. |
cancellationToken |
CancellationToken A 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;
}
CreateAnalysisRule(LocationName, AnalysisRule, CallSettings)
public virtual AnalysisRule CreateAnalysisRule(LocationName parent, AnalysisRule analysisRule, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule);
CreateAnalysisRule(CreateAnalysisRuleRequest, CallSettings)
public virtual AnalysisRule CreateAnalysisRule(CreateAnalysisRuleRequest request, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
CreateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AnalysisRule = new AnalysisRule(),
};
// Make the request
AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(request);
CreateAnalysisRule(string, AnalysisRule, CallSettings)
public virtual AnalysisRule CreateAnalysisRule(string parent, AnalysisRule analysisRule, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule);
CreateAnalysisRuleAsync(LocationName, AnalysisRule, CallSettings)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(LocationName parent, AnalysisRule analysisRule, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule);
CreateAnalysisRuleAsync(LocationName, AnalysisRule, CancellationToken)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(LocationName parent, AnalysisRule analysisRule, CancellationToken cancellationToken)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule);
CreateAnalysisRuleAsync(CreateAnalysisRuleRequest, CallSettings)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(CreateAnalysisRuleRequest request, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
CreateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AnalysisRule = new AnalysisRule(),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(request);
CreateAnalysisRuleAsync(CreateAnalysisRuleRequest, CancellationToken)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(CreateAnalysisRuleRequest request, CancellationToken cancellationToken)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
CreateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AnalysisRule = new AnalysisRule(),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(request);
CreateAnalysisRuleAsync(string, AnalysisRule, CallSettings)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(string parent, AnalysisRule analysisRule, CallSettings callSettings = null)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule);
CreateAnalysisRuleAsync(string, AnalysisRule, CancellationToken)
public virtual Task<AnalysisRule> CreateAnalysisRuleAsync(string parent, AnalysisRule analysisRule, CancellationToken cancellationToken)
Creates a analysis rule.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the analysis rule. Required. The location
to create a analysis rule for. Format: |
analysisRule |
AnalysisRule Required. The analysis rule resource to create. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AnalysisRule analysisRule = new AnalysisRule();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule);
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 |
CancellationToken The 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
callSettings |
CallSettings If 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
callSettings |
CallSettings If 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
callSettings |
CallSettings If 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
cancellationToken |
CancellationToken A 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
callSettings |
CallSettings If 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.
Note that this method does not support audio transcription or redaction.
Use conversations.upload
instead.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the conversation. |
conversation |
Conversation Required. The conversation resource to create. |
conversationId |
string A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular
expression |
cancellationToken |
CancellationToken A 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);
CreateFeedbackLabel(ConversationName, FeedbackLabel, string, CallSettings)
public virtual FeedbackLabel CreateFeedbackLabel(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
ConversationName Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId);
CreateFeedbackLabel(CreateFeedbackLabelRequest, CallSettings)
public virtual FeedbackLabel CreateFeedbackLabel(CreateFeedbackLabelRequest request, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
request |
CreateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest
{
ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
FeedbackLabelId = "",
FeedbackLabel = new FeedbackLabel(),
};
// Make the request
FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(request);
CreateFeedbackLabel(string, FeedbackLabel, string, CallSettings)
public virtual FeedbackLabel CreateFeedbackLabel(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId);
CreateFeedbackLabelAsync(ConversationName, FeedbackLabel, string, CallSettings)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
ConversationName Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId);
CreateFeedbackLabelAsync(ConversationName, FeedbackLabel, string, CancellationToken)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CancellationToken cancellationToken)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
ConversationName Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId);
CreateFeedbackLabelAsync(CreateFeedbackLabelRequest, CallSettings)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(CreateFeedbackLabelRequest request, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
request |
CreateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest
{
ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
FeedbackLabelId = "",
FeedbackLabel = new FeedbackLabel(),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(request);
CreateFeedbackLabelAsync(CreateFeedbackLabelRequest, CancellationToken)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(CreateFeedbackLabelRequest request, CancellationToken cancellationToken)
Create feedback label.
Parameters | |
---|---|
Name | Description |
request |
CreateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest
{
ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
FeedbackLabelId = "",
FeedbackLabel = new FeedbackLabel(),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(request);
CreateFeedbackLabelAsync(string, FeedbackLabel, string, CallSettings)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CallSettings callSettings = null)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
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]";
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId);
CreateFeedbackLabelAsync(string, FeedbackLabel, string, CancellationToken)
public virtual Task<FeedbackLabel> CreateFeedbackLabelAsync(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, CancellationToken cancellationToken)
Create feedback label.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the feedback label. |
feedbackLabel |
FeedbackLabel Required. The feedback label to create. |
feedbackLabelId |
string Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
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]";
FeedbackLabel feedbackLabel = new FeedbackLabel();
string feedbackLabelId = "";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId);
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 |
LocationName Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
callSettings |
CallSettings If 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 |
CreateIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
cancellationToken |
CancellationToken A 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 |
CreateIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CreateIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the issue model. |
issueModel |
IssueModel Required. The issue model to create. |
cancellationToken |
CancellationToken A 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 |
LocationName Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
callSettings |
CallSettings If 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 |
CreatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
cancellationToken |
CancellationToken A 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 |
CreatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CreatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher Required. The phrase matcher resource to create. |
cancellationToken |
CancellationToken A 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);
CreateQaQuestion(CreateQaQuestionRequest, CallSettings)
public virtual QaQuestion CreateQaQuestion(CreateQaQuestionRequest request, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
CreateQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateQaQuestionRequest request = new CreateQaQuestionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
QaQuestion = new QaQuestion(),
QaQuestionId = "",
};
// Make the request
QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(request);
CreateQaQuestion(QaScorecardRevisionName, QaQuestion, string, CallSettings)
public virtual QaQuestion CreateQaQuestion(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId);
CreateQaQuestion(string, QaQuestion, string, CallSettings)
public virtual QaQuestion CreateQaQuestion(string parent, QaQuestion qaQuestion, string qaQuestionId, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId);
CreateQaQuestionAsync(CreateQaQuestionRequest, CallSettings)
public virtual Task<QaQuestion> CreateQaQuestionAsync(CreateQaQuestionRequest request, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
CreateQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaQuestionRequest request = new CreateQaQuestionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
QaQuestion = new QaQuestion(),
QaQuestionId = "",
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(request);
CreateQaQuestionAsync(CreateQaQuestionRequest, CancellationToken)
public virtual Task<QaQuestion> CreateQaQuestionAsync(CreateQaQuestionRequest request, CancellationToken cancellationToken)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
CreateQaQuestionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaQuestionRequest request = new CreateQaQuestionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
QaQuestion = new QaQuestion(),
QaQuestionId = "",
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(request);
CreateQaQuestionAsync(QaScorecardRevisionName, QaQuestion, string, CallSettings)
public virtual Task<QaQuestion> CreateQaQuestionAsync(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId);
CreateQaQuestionAsync(QaScorecardRevisionName, QaQuestion, string, CancellationToken)
public virtual Task<QaQuestion> CreateQaQuestionAsync(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, CancellationToken cancellationToken)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId);
CreateQaQuestionAsync(string, QaQuestion, string, CallSettings)
public virtual Task<QaQuestion> CreateQaQuestionAsync(string parent, QaQuestion qaQuestion, string qaQuestionId, CallSettings callSettings = null)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId);
CreateQaQuestionAsync(string, QaQuestion, string, CancellationToken)
public virtual Task<QaQuestion> CreateQaQuestionAsync(string parent, QaQuestion qaQuestion, string qaQuestionId, CancellationToken cancellationToken)
Create a QaQuestion.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaQuestion. |
qaQuestion |
QaQuestion Required. The QaQuestion to create. |
qaQuestionId |
string Optional. A unique ID for the new question. This ID will become the final component of the question'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
QaQuestion qaQuestion = new QaQuestion();
string qaQuestionId = "";
// Make the request
QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId);
CreateQaScorecard(LocationName, QaScorecard, string, CallSettings)
public virtual QaScorecard CreateQaScorecard(LocationName parent, QaScorecard qaScorecard, string qaScorecardId, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId);
CreateQaScorecard(CreateQaScorecardRequest, CallSettings)
public virtual QaScorecard CreateQaScorecard(CreateQaScorecardRequest request, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateQaScorecardRequest request = new CreateQaScorecardRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
QaScorecard = new QaScorecard(),
QaScorecardId = "",
};
// Make the request
QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(request);
CreateQaScorecard(string, QaScorecard, string, CallSettings)
public virtual QaScorecard CreateQaScorecard(string parent, QaScorecard qaScorecard, string qaScorecardId, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId);
CreateQaScorecardAsync(LocationName, QaScorecard, string, CallSettings)
public virtual Task<QaScorecard> CreateQaScorecardAsync(LocationName parent, QaScorecard qaScorecard, string qaScorecardId, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId);
CreateQaScorecardAsync(LocationName, QaScorecard, string, CancellationToken)
public virtual Task<QaScorecard> CreateQaScorecardAsync(LocationName parent, QaScorecard qaScorecard, string qaScorecardId, CancellationToken cancellationToken)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId);
CreateQaScorecardAsync(CreateQaScorecardRequest, CallSettings)
public virtual Task<QaScorecard> CreateQaScorecardAsync(CreateQaScorecardRequest request, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaScorecardRequest request = new CreateQaScorecardRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
QaScorecard = new QaScorecard(),
QaScorecardId = "",
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(request);
CreateQaScorecardAsync(CreateQaScorecardRequest, CancellationToken)
public virtual Task<QaScorecard> CreateQaScorecardAsync(CreateQaScorecardRequest request, CancellationToken cancellationToken)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaScorecardRequest request = new CreateQaScorecardRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
QaScorecard = new QaScorecard(),
QaScorecardId = "",
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(request);
CreateQaScorecardAsync(string, QaScorecard, string, CallSettings)
public virtual Task<QaScorecard> CreateQaScorecardAsync(string parent, QaScorecard qaScorecard, string qaScorecardId, CallSettings callSettings = null)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId);
CreateQaScorecardAsync(string, QaScorecard, string, CancellationToken)
public virtual Task<QaScorecard> CreateQaScorecardAsync(string parent, QaScorecard qaScorecard, string qaScorecardId, CancellationToken cancellationToken)
Create a QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecard. |
qaScorecard |
QaScorecard Required. The QaScorecard to create. |
qaScorecardId |
string Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
QaScorecard qaScorecard = new QaScorecard();
string qaScorecardId = "";
// Make the request
QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId);
CreateQaScorecardRevision(CreateQaScorecardRevisionRequest, CallSettings)
public virtual QaScorecardRevision CreateQaScorecardRevision(CreateQaScorecardRevisionRequest request, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest
{
ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
QaScorecardRevision = new QaScorecardRevision(),
QaScorecardRevisionId = "",
};
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(request);
CreateQaScorecardRevision(QaScorecardName, QaScorecardRevision, string, CallSettings)
public virtual QaScorecardRevision CreateQaScorecardRevision(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardName Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateQaScorecardRevision(string, QaScorecardRevision, string, CallSettings)
public virtual QaScorecardRevision CreateQaScorecardRevision(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest, CallSettings)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest request, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest
{
ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
QaScorecardRevision = new QaScorecardRevision(),
QaScorecardRevisionId = "",
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(request);
CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest, CancellationToken)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
CreateQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest
{
ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
QaScorecardRevision = new QaScorecardRevision(),
QaScorecardRevisionId = "",
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(request);
CreateQaScorecardRevisionAsync(QaScorecardName, QaScorecardRevision, string, CallSettings)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardName Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateQaScorecardRevisionAsync(QaScorecardName, QaScorecardRevision, string, CancellationToken)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CancellationToken cancellationToken)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardName Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateQaScorecardRevisionAsync(string, QaScorecardRevision, string, CallSettings)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CallSettings callSettings = null)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateQaScorecardRevisionAsync(string, QaScorecardRevision, string, CancellationToken)
public virtual Task<QaScorecardRevision> CreateQaScorecardRevisionAsync(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, CancellationToken cancellationToken)
Creates a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the QaScorecardRevision. |
qaScorecardRevision |
QaScorecardRevision Required. The QaScorecardRevision to create. |
qaScorecardRevisionId |
string Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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 |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
QaScorecardRevision qaScorecardRevision = new QaScorecardRevision();
string qaScorecardRevisionId = "";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId);
CreateView(LocationName, View, CallSettings)
public virtual View CreateView(LocationName parent, View view, CallSettings callSettings = null)
Creates a view.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
callSettings |
CallSettings If 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 |
CreateViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
cancellationToken |
CancellationToken A 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 |
CreateViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
CreateViewRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
View Required. The view resource to create. |
cancellationToken |
CancellationToken A 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 |
AnalysisName Required. The name of the analysis to delete. |
callSettings |
CallSettings If 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 |
DeleteAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
string Required. The name of the analysis to delete. |
callSettings |
CallSettings If 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 |
AnalysisName Required. The name of the analysis to delete. |
callSettings |
CallSettings If 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 |
AnalysisName Required. The name of the analysis to delete. |
cancellationToken |
CancellationToken A 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 |
DeleteAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeleteAnalysisRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the analysis to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the analysis to delete. |
cancellationToken |
CancellationToken A 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);
DeleteAnalysisRule(AnalysisRuleName, CallSettings)
public virtual void DeleteAnalysisRule(AnalysisRuleName name, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the analysis rule to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
contactCenterInsightsClient.DeleteAnalysisRule(name);
DeleteAnalysisRule(DeleteAnalysisRuleRequest, CallSettings)
public virtual void DeleteAnalysisRule(DeleteAnalysisRuleRequest request, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
DeleteAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
contactCenterInsightsClient.DeleteAnalysisRule(request);
DeleteAnalysisRule(string, CallSettings)
public virtual void DeleteAnalysisRule(string name, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the analysis rule to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]";
// Make the request
contactCenterInsightsClient.DeleteAnalysisRule(name);
DeleteAnalysisRuleAsync(AnalysisRuleName, CallSettings)
public virtual Task DeleteAnalysisRuleAsync(AnalysisRuleName name, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the analysis rule to delete. |
callSettings |
CallSettings If 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)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name);
DeleteAnalysisRuleAsync(AnalysisRuleName, CancellationToken)
public virtual Task DeleteAnalysisRuleAsync(AnalysisRuleName name, CancellationToken cancellationToken)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the analysis rule to delete. |
cancellationToken |
CancellationToken A 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)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name);
DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest, CallSettings)
public virtual Task DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest request, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
DeleteAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(request);
DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest, CancellationToken)
public virtual Task DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest request, CancellationToken cancellationToken)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
DeleteAnalysisRuleRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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)
DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(request);
DeleteAnalysisRuleAsync(string, CallSettings)
public virtual Task DeleteAnalysisRuleAsync(string name, CallSettings callSettings = null)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the analysis rule to delete. |
callSettings |
CallSettings If 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]/analysisRules/[ANALYSIS_RULE]";
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name);
DeleteAnalysisRuleAsync(string, CancellationToken)
public virtual Task DeleteAnalysisRuleAsync(string name, CancellationToken cancellationToken)
Deletes a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the analysis rule to delete. |
cancellationToken |
CancellationToken A 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]/analysisRules/[ANALYSIS_RULE]";
// Make the request
await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name);
DeleteConversation(ConversationName, CallSettings)
public virtual void DeleteConversation(ConversationName name, CallSettings callSettings = null)
Deletes a conversation.
Parameters | |
---|---|
Name | Description |
name |
ConversationName Required. The name of the conversation to delete. |
callSettings |
CallSettings If 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 |
DeleteConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
string Required. The name of the conversation to delete. |
callSettings |
CallSettings If 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 |
ConversationName Required. The name of the conversation to delete. |
callSettings |
CallSettings If 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 |
ConversationName Required. The name of the conversation to delete. |
cancellationToken |
CancellationToken A 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 |
DeleteConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeleteConversationRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the conversation to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the conversation to delete. |
cancellationToken |
CancellationToken A 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);
DeleteFeedbackLabel(DeleteFeedbackLabelRequest, CallSettings)
public virtual void DeleteFeedbackLabel(DeleteFeedbackLabelRequest request, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
request |
DeleteFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
contactCenterInsightsClient.DeleteFeedbackLabel(request);
DeleteFeedbackLabel(FeedbackLabelName, CallSettings)
public virtual void DeleteFeedbackLabel(FeedbackLabelName name, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
contactCenterInsightsClient.DeleteFeedbackLabel(name);
DeleteFeedbackLabel(string, CallSettings)
public virtual void DeleteFeedbackLabel(string name, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to delete. |
callSettings |
CallSettings If 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]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
contactCenterInsightsClient.DeleteFeedbackLabel(name);
DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest, CallSettings)
public virtual Task DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest request, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
request |
DeleteFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(request);
DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest, CancellationToken)
public virtual Task DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest request, CancellationToken cancellationToken)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
request |
DeleteFeedbackLabelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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)
DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(request);
DeleteFeedbackLabelAsync(FeedbackLabelName, CallSettings)
public virtual Task DeleteFeedbackLabelAsync(FeedbackLabelName name, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to delete. |
callSettings |
CallSettings If 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)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name);
DeleteFeedbackLabelAsync(FeedbackLabelName, CancellationToken)
public virtual Task DeleteFeedbackLabelAsync(FeedbackLabelName name, CancellationToken cancellationToken)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to delete. |
cancellationToken |
CancellationToken A 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)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name);
DeleteFeedbackLabelAsync(string, CallSettings)
public virtual Task DeleteFeedbackLabelAsync(string name, CallSettings callSettings = null)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to delete. |
callSettings |
CallSettings If 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]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name);
DeleteFeedbackLabelAsync(string, CancellationToken)
public virtual Task DeleteFeedbackLabelAsync(string name, CancellationToken cancellationToken)
Delete feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to delete. |
cancellationToken |
CancellationToken A 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]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name);
DeleteIssue(DeleteIssueRequest, CallSettings)
public virtual void DeleteIssue(DeleteIssueRequest request, CallSettings callSettings = null)
Deletes an issue.
Parameters | |
---|---|
Name | Description |
request |
DeleteIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
IssueName Required. The name of the issue to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue to delete. |
callSettings |
CallSettings If 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 |
DeleteIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeleteIssueRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueName Required. The name of the issue to delete. |
callSettings |
CallSettings If 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 |
IssueName Required. The name of the issue to delete. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the issue to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue to delete. |
cancellationToken |
CancellationToken A 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 |
DeleteIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueModelName Required. The name of the issue model to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue model to delete. |
callSettings |
CallSettings If 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 |
DeleteIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeleteIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueModelName Required. The name of the issue model to delete. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The name of the issue model to delete. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the issue model to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue model to delete. |
cancellationToken |
CancellationToken A 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 |
DeletePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
PhraseMatcherName Required. The name of the phrase matcher to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the phrase matcher to delete. |
callSettings |
CallSettings If 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 |
DeletePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeletePhraseMatcherRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
PhraseMatcherName Required. The name of the phrase matcher to delete. |
callSettings |
CallSettings If 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 |
PhraseMatcherName Required. The name of the phrase matcher to delete. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the phrase matcher to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the phrase matcher to delete. |
cancellationToken |
CancellationToken A 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);
DeleteQaQuestion(DeleteQaQuestionRequest, CallSettings)
public virtual void DeleteQaQuestion(DeleteQaQuestionRequest request, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteQaQuestionRequest request = new DeleteQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
contactCenterInsightsClient.DeleteQaQuestion(request);
DeleteQaQuestion(QaQuestionName, CallSettings)
public virtual void DeleteQaQuestion(QaQuestionName name, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
contactCenterInsightsClient.DeleteQaQuestion(name);
DeleteQaQuestion(string, CallSettings)
public virtual void DeleteQaQuestion(string name, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
contactCenterInsightsClient.DeleteQaQuestion(name);
DeleteQaQuestionAsync(DeleteQaQuestionRequest, CallSettings)
public virtual Task DeleteQaQuestionAsync(DeleteQaQuestionRequest request, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteQaQuestionRequest request = new DeleteQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(request);
DeleteQaQuestionAsync(DeleteQaQuestionRequest, CancellationToken)
public virtual Task DeleteQaQuestionAsync(DeleteQaQuestionRequest request, CancellationToken cancellationToken)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaQuestionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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)
DeleteQaQuestionRequest request = new DeleteQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(request);
DeleteQaQuestionAsync(QaQuestionName, CallSettings)
public virtual Task DeleteQaQuestionAsync(QaQuestionName name, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to delete. |
callSettings |
CallSettings If 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)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(name);
DeleteQaQuestionAsync(QaQuestionName, CancellationToken)
public virtual Task DeleteQaQuestionAsync(QaQuestionName name, CancellationToken cancellationToken)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to delete. |
cancellationToken |
CancellationToken A 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)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(name);
DeleteQaQuestionAsync(string, CallSettings)
public virtual Task DeleteQaQuestionAsync(string name, CallSettings callSettings = null)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to delete. |
callSettings |
CallSettings If 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]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(name);
DeleteQaQuestionAsync(string, CancellationToken)
public virtual Task DeleteQaQuestionAsync(string name, CancellationToken cancellationToken)
Deletes a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to delete. |
cancellationToken |
CancellationToken A 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]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
await contactCenterInsightsClient.DeleteQaQuestionAsync(name);
DeleteQaScorecard(DeleteQaScorecardRequest, CallSettings)
public virtual void DeleteQaScorecard(DeleteQaScorecardRequest request, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteQaScorecardRequest request = new DeleteQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
Force = false,
};
// Make the request
contactCenterInsightsClient.DeleteQaScorecard(request);
DeleteQaScorecard(QaScorecardName, CallSettings)
public virtual void DeleteQaScorecard(QaScorecardName name, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
contactCenterInsightsClient.DeleteQaScorecard(name);
DeleteQaScorecard(string, CallSettings)
public virtual void DeleteQaScorecard(string name, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
contactCenterInsightsClient.DeleteQaScorecard(name);
DeleteQaScorecardAsync(DeleteQaScorecardRequest, CallSettings)
public virtual Task DeleteQaScorecardAsync(DeleteQaScorecardRequest request, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteQaScorecardRequest request = new DeleteQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(request);
DeleteQaScorecardAsync(DeleteQaScorecardRequest, CancellationToken)
public virtual Task DeleteQaScorecardAsync(DeleteQaScorecardRequest request, CancellationToken cancellationToken)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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)
DeleteQaScorecardRequest request = new DeleteQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(request);
DeleteQaScorecardAsync(QaScorecardName, CallSettings)
public virtual Task DeleteQaScorecardAsync(QaScorecardName name, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to delete. |
callSettings |
CallSettings If 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)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(name);
DeleteQaScorecardAsync(QaScorecardName, CancellationToken)
public virtual Task DeleteQaScorecardAsync(QaScorecardName name, CancellationToken cancellationToken)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to delete. |
cancellationToken |
CancellationToken A 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)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(name);
DeleteQaScorecardAsync(string, CallSettings)
public virtual Task DeleteQaScorecardAsync(string name, CallSettings callSettings = null)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to delete. |
callSettings |
CallSettings If 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]/qaScorecards/[QA_SCORECARD]";
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(name);
DeleteQaScorecardAsync(string, CancellationToken)
public virtual Task DeleteQaScorecardAsync(string name, CancellationToken cancellationToken)
Deletes a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to delete. |
cancellationToken |
CancellationToken A 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]/qaScorecards/[QA_SCORECARD]";
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardAsync(name);
DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest, CallSettings)
public virtual void DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest request, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Force = false,
};
// Make the request
contactCenterInsightsClient.DeleteQaScorecardRevision(request);
DeleteQaScorecardRevision(QaScorecardRevisionName, CallSettings)
public virtual void DeleteQaScorecardRevision(QaScorecardRevisionName name, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
contactCenterInsightsClient.DeleteQaScorecardRevision(name);
DeleteQaScorecardRevision(string, CallSettings)
public virtual void DeleteQaScorecardRevision(string name, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
contactCenterInsightsClient.DeleteQaScorecardRevision(name);
DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest, CallSettings)
public virtual Task DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest request, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(request);
DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest, CancellationToken)
public virtual Task DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeleteQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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)
DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(request);
DeleteQaScorecardRevisionAsync(QaScorecardRevisionName, CallSettings)
public virtual Task DeleteQaScorecardRevisionAsync(QaScorecardRevisionName name, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to delete. |
callSettings |
CallSettings If 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)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name);
DeleteQaScorecardRevisionAsync(QaScorecardRevisionName, CancellationToken)
public virtual Task DeleteQaScorecardRevisionAsync(QaScorecardRevisionName name, CancellationToken cancellationToken)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to delete. |
cancellationToken |
CancellationToken A 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)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name);
DeleteQaScorecardRevisionAsync(string, CallSettings)
public virtual Task DeleteQaScorecardRevisionAsync(string name, CallSettings callSettings = null)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to delete. |
callSettings |
CallSettings If 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]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name);
DeleteQaScorecardRevisionAsync(string, CancellationToken)
public virtual Task DeleteQaScorecardRevisionAsync(string name, CancellationToken cancellationToken)
Deletes a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to delete. |
cancellationToken |
CancellationToken A 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]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name);
DeleteView(DeleteViewRequest, CallSettings)
public virtual void DeleteView(DeleteViewRequest request, CallSettings callSettings = null)
Deletes a view.
Parameters | |
---|---|
Name | Description |
request |
DeleteViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
ViewName Required. The name of the view to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the view to delete. |
callSettings |
CallSettings If 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 |
DeleteViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeleteViewRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
ViewName Required. The name of the view to delete. |
callSettings |
CallSettings If 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 |
ViewName Required. The name of the view to delete. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the view to delete. |
callSettings |
CallSettings If 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 |
string Required. The name of the view to delete. |
cancellationToken |
CancellationToken A 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 |
DeployIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueModelName Required. The issue model to deploy. |
callSettings |
CallSettings If 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 |
string Required. The issue model to deploy. |
callSettings |
CallSettings If 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 |
DeployIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
DeployIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueModelName Required. The issue model to deploy. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The issue model to deploy. |
cancellationToken |
CancellationToken A 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 |
string Required. The issue model to deploy. |
callSettings |
CallSettings If 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 |
string Required. The issue model to deploy. |
cancellationToken |
CancellationToken A 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;
}
DeployQaScorecardRevision(DeployQaScorecardRevisionRequest, CallSettings)
public virtual QaScorecardRevision DeployQaScorecardRevision(DeployQaScorecardRevisionRequest request, CallSettings callSettings = null)
Deploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.DeployQaScorecardRevision(request);
DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest, CallSettings)
public virtual Task<QaScorecardRevision> DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest request, CallSettings callSettings = null)
Deploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.DeployQaScorecardRevisionAsync(request);
DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest, CancellationToken)
public virtual Task<QaScorecardRevision> DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Deploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
DeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.DeployQaScorecardRevisionAsync(request);
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 |
LocationName Required. The parent resource to export data from. |
callSettings |
CallSettings If 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 |
ExportInsightsDataRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource to export data from. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource to export data from. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource to export data from. |
cancellationToken |
CancellationToken A 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 |
ExportInsightsDataRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
ExportInsightsDataRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource to export data from. |
callSettings |
CallSettings If 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 |
string Required. The parent resource to export data from. |
cancellationToken |
CancellationToken A 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;
}
ExportIssueModel(ExportIssueModelRequest, CallSettings)
public virtual Operation<ExportIssueModelResponse, ExportIssueModelMetadata> ExportIssueModel(ExportIssueModelRequest request, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
request |
ExportIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationExportIssueModelResponseExportIssueModelMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ExportIssueModelRequest request = new ExportIssueModelRequest
{
IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(),
};
// Make the request
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> response = contactCenterInsightsClient.ExportIssueModel(request);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModel(IssueModelName, CallSettings)
public virtual Operation<ExportIssueModelResponse, ExportIssueModelMetadata> ExportIssueModel(IssueModelName name, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
IssueModelName Required. The issue model to export. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = contactCenterInsightsClient.ExportIssueModel(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModel(string, CallSettings)
public virtual Operation<ExportIssueModelResponse, ExportIssueModelMetadata> ExportIssueModel(string name, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
string Required. The issue model to export. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = contactCenterInsightsClient.ExportIssueModel(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(ExportIssueModelRequest, CallSettings)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(ExportIssueModelRequest request, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
request |
ExportIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ExportIssueModelRequest request = new ExportIssueModelRequest
{
IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(),
};
// Make the request
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(ExportIssueModelRequest, CancellationToken)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(ExportIssueModelRequest request, CancellationToken cancellationToken)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
request |
ExportIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ExportIssueModelRequest request = new ExportIssueModelRequest
{
IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(),
};
// Make the request
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(IssueModelName, CallSettings)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(IssueModelName name, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
IssueModelName Required. The issue model to export. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(IssueModelName, CancellationToken)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(IssueModelName name, CancellationToken cancellationToken)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
IssueModelName Required. The issue model to export. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(string, CallSettings)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(string name, CallSettings callSettings = null)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
string Required. The issue model to export. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ExportIssueModelAsync(string, CancellationToken)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> ExportIssueModelAsync(string name, CancellationToken cancellationToken)
Exports an issue model to the provided destination.
Parameters | |
---|---|
Name | Description |
name |
string Required. The issue model to export. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
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<ExportIssueModelResponse, ExportIssueModelMetadata> response = await contactCenterInsightsClient.ExportIssueModelAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportIssueModelResponse, ExportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
GetAnalysis(AnalysisName, CallSettings)
public virtual Analysis GetAnalysis(AnalysisName name, CallSettings callSettings = null)
Gets an analysis.
Parameters | |
---|---|
Name | Description |
name |
AnalysisName Required. The name of the analysis to get. |
callSettings |
CallSettings If 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 |
GetAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The name of the analysis to get. |
callSettings |
CallSettings If 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 |
AnalysisName Required. The name of the analysis to get. |
callSettings |
CallSettings If 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 |
AnalysisName Required. The name of the analysis to get. |
cancellationToken |
CancellationToken A 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 |
GetAnalysisRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetAnalysisRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the analysis to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the analysis to get. |
cancellationToken |
CancellationToken A 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);
GetAnalysisRule(AnalysisRuleName, CallSettings)
public virtual AnalysisRule GetAnalysisRule(AnalysisRuleName name, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the AnalysisRule to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name);
GetAnalysisRule(GetAnalysisRuleRequest, CallSettings)
public virtual AnalysisRule GetAnalysisRule(GetAnalysisRuleRequest request, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
GetAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetAnalysisRuleRequest request = new GetAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(request);
GetAnalysisRule(string, CallSettings)
public virtual AnalysisRule GetAnalysisRule(string name, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the AnalysisRule to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]";
// Make the request
AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name);
GetAnalysisRuleAsync(AnalysisRuleName, CallSettings)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(AnalysisRuleName name, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the AnalysisRule to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name);
GetAnalysisRuleAsync(AnalysisRuleName, CancellationToken)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(AnalysisRuleName name, CancellationToken cancellationToken)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
AnalysisRuleName Required. The name of the AnalysisRule to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]");
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name);
GetAnalysisRuleAsync(GetAnalysisRuleRequest, CallSettings)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(GetAnalysisRuleRequest request, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
GetAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRuleRequest request = new GetAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(request);
GetAnalysisRuleAsync(GetAnalysisRuleRequest, CancellationToken)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(GetAnalysisRuleRequest request, CancellationToken cancellationToken)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
GetAnalysisRuleRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRuleRequest request = new GetAnalysisRuleRequest
{
AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(request);
GetAnalysisRuleAsync(string, CallSettings)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(string name, CallSettings callSettings = null)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the AnalysisRule to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]";
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name);
GetAnalysisRuleAsync(string, CancellationToken)
public virtual Task<AnalysisRule> GetAnalysisRuleAsync(string name, CancellationToken cancellationToken)
Get a analysis rule.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the AnalysisRule to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]";
// Make the request
AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name);
GetConversation(ConversationName, CallSettings)
public virtual Conversation GetConversation(ConversationName name, CallSettings callSettings = null)
Gets a conversation.
Parameters | |
---|---|
Name | Description |
name |
ConversationName Required. The name of the conversation to get. |
callSettings |
CallSettings If 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 |
GetConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The name of the conversation to get. |
callSettings |
CallSettings If 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 |
ConversationName Required. The name of the conversation to get. |
callSettings |
CallSettings If 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 |
ConversationName Required. The name of the conversation to get. |
cancellationToken |
CancellationToken A 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 |
GetConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetConversationRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the conversation to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the conversation to get. |
cancellationToken |
CancellationToken A 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);
GetEncryptionSpec(EncryptionSpecName, CallSettings)
public virtual EncryptionSpec GetEncryptionSpec(EncryptionSpecName name, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
EncryptionSpecName Required. The name of the encryption spec resource to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EncryptionSpec |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name);
GetEncryptionSpec(GetEncryptionSpecRequest, CallSettings)
public virtual EncryptionSpec GetEncryptionSpec(GetEncryptionSpecRequest request, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
request |
GetEncryptionSpecRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EncryptionSpec |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetEncryptionSpecRequest request = new GetEncryptionSpecRequest
{
EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(request);
GetEncryptionSpec(string, CallSettings)
public virtual EncryptionSpec GetEncryptionSpec(string name, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the encryption spec resource to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EncryptionSpec |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec";
// Make the request
EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name);
GetEncryptionSpecAsync(EncryptionSpecName, CallSettings)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(EncryptionSpecName name, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
EncryptionSpecName Required. The name of the encryption spec resource to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name);
GetEncryptionSpecAsync(EncryptionSpecName, CancellationToken)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(EncryptionSpecName name, CancellationToken cancellationToken)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
EncryptionSpecName Required. The name of the encryption spec resource to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name);
GetEncryptionSpecAsync(GetEncryptionSpecRequest, CallSettings)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(GetEncryptionSpecRequest request, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
request |
GetEncryptionSpecRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetEncryptionSpecRequest request = new GetEncryptionSpecRequest
{
EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(request);
GetEncryptionSpecAsync(GetEncryptionSpecRequest, CancellationToken)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(GetEncryptionSpecRequest request, CancellationToken cancellationToken)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
request |
GetEncryptionSpecRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetEncryptionSpecRequest request = new GetEncryptionSpecRequest
{
EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(request);
GetEncryptionSpecAsync(string, CallSettings)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(string name, CallSettings callSettings = null)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the encryption spec resource to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec";
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name);
GetEncryptionSpecAsync(string, CancellationToken)
public virtual Task<EncryptionSpec> GetEncryptionSpecAsync(string name, CancellationToken cancellationToken)
Gets location-level encryption key specification.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the encryption spec resource to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEncryptionSpec |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec";
// Make the request
EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name);
GetFeedbackLabel(FeedbackLabelName, CallSettings)
public virtual FeedbackLabel GetFeedbackLabel(FeedbackLabelName name, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name);
GetFeedbackLabel(GetFeedbackLabelRequest, CallSettings)
public virtual FeedbackLabel GetFeedbackLabel(GetFeedbackLabelRequest request, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
request |
GetFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetFeedbackLabelRequest request = new GetFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(request);
GetFeedbackLabel(string, CallSettings)
public virtual FeedbackLabel GetFeedbackLabel(string name, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name);
GetFeedbackLabelAsync(FeedbackLabelName, CallSettings)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(FeedbackLabelName name, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name);
GetFeedbackLabelAsync(FeedbackLabelName, CancellationToken)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(FeedbackLabelName name, CancellationToken cancellationToken)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
FeedbackLabelName Required. The name of the feedback label to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]");
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name);
GetFeedbackLabelAsync(GetFeedbackLabelRequest, CallSettings)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(GetFeedbackLabelRequest request, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
request |
GetFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetFeedbackLabelRequest request = new GetFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(request);
GetFeedbackLabelAsync(GetFeedbackLabelRequest, CancellationToken)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(GetFeedbackLabelRequest request, CancellationToken cancellationToken)
Get feedback label.
Parameters | |
---|---|
Name | Description |
request |
GetFeedbackLabelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetFeedbackLabelRequest request = new GetFeedbackLabelRequest
{
FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(request);
GetFeedbackLabelAsync(string, CallSettings)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(string name, CallSettings callSettings = null)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
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]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name);
GetFeedbackLabelAsync(string, CancellationToken)
public virtual Task<FeedbackLabel> GetFeedbackLabelAsync(string name, CancellationToken cancellationToken)
Get feedback label.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the feedback label to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
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]/feedbackLabels/[FEEDBACK_LABEL]";
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name);
GetIssue(GetIssueRequest, CallSettings)
public virtual Issue GetIssue(GetIssueRequest request, CallSettings callSettings = null)
Gets an issue.
Parameters | |
---|---|
Name | Description |
request |
GetIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueName Required. The name of the issue to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue to get. |
callSettings |
CallSettings If 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 |
GetIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetIssueRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueName Required. The name of the issue to get. |
callSettings |
CallSettings If 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 |
IssueName Required. The name of the issue to get. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the issue to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue to get. |
cancellationToken |
CancellationToken A 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 |
GetIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueModelName Required. The name of the issue model to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue model to get. |
callSettings |
CallSettings If 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 |
GetIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueModelName Required. The name of the issue model to get. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The name of the issue model to get. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the issue model to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the issue model to get. |
cancellationToken |
CancellationToken A 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 |
GetPhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
PhraseMatcherName Required. The name of the phrase matcher to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the phrase matcher to get. |
callSettings |
CallSettings If 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 |
GetPhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetPhraseMatcherRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
PhraseMatcherName Required. The name of the phrase matcher to get. |
callSettings |
CallSettings If 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 |
PhraseMatcherName Required. The name of the phrase matcher to get. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the phrase matcher to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the phrase matcher to get. |
cancellationToken |
CancellationToken A 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);
GetQaQuestion(GetQaQuestionRequest, CallSettings)
public virtual QaQuestion GetQaQuestion(GetQaQuestionRequest request, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
GetQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetQaQuestionRequest request = new GetQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
QaQuestion response = contactCenterInsightsClient.GetQaQuestion(request);
GetQaQuestion(QaQuestionName, CallSettings)
public virtual QaQuestion GetQaQuestion(QaQuestionName name, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name);
GetQaQuestion(string, CallSettings)
public virtual QaQuestion GetQaQuestion(string name, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name);
GetQaQuestionAsync(GetQaQuestionRequest, CallSettings)
public virtual Task<QaQuestion> GetQaQuestionAsync(GetQaQuestionRequest request, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
GetQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaQuestionRequest request = new GetQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(request);
GetQaQuestionAsync(GetQaQuestionRequest, CancellationToken)
public virtual Task<QaQuestion> GetQaQuestionAsync(GetQaQuestionRequest request, CancellationToken cancellationToken)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
GetQaQuestionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaQuestionRequest request = new GetQaQuestionRequest
{
QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"),
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(request);
GetQaQuestionAsync(QaQuestionName, CallSettings)
public virtual Task<QaQuestion> GetQaQuestionAsync(QaQuestionName name, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name);
GetQaQuestionAsync(QaQuestionName, CancellationToken)
public virtual Task<QaQuestion> GetQaQuestionAsync(QaQuestionName name, CancellationToken cancellationToken)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
QaQuestionName Required. The name of the QaQuestion to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]");
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name);
GetQaQuestionAsync(string, CallSettings)
public virtual Task<QaQuestion> GetQaQuestionAsync(string name, CallSettings callSettings = null)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name);
GetQaQuestionAsync(string, CancellationToken)
public virtual Task<QaQuestion> GetQaQuestionAsync(string name, CancellationToken cancellationToken)
Gets a QaQuestion.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaQuestion to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]";
// Make the request
QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name);
GetQaScorecard(GetQaScorecardRequest, CallSettings)
public virtual QaScorecard GetQaScorecard(GetQaScorecardRequest request, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetQaScorecardRequest request = new GetQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
};
// Make the request
QaScorecard response = contactCenterInsightsClient.GetQaScorecard(request);
GetQaScorecard(QaScorecardName, CallSettings)
public virtual QaScorecard GetQaScorecard(QaScorecardName name, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name);
GetQaScorecard(string, CallSettings)
public virtual QaScorecard GetQaScorecard(string name, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name);
GetQaScorecardAsync(GetQaScorecardRequest, CallSettings)
public virtual Task<QaScorecard> GetQaScorecardAsync(GetQaScorecardRequest request, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaScorecardRequest request = new GetQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(request);
GetQaScorecardAsync(GetQaScorecardRequest, CancellationToken)
public virtual Task<QaScorecard> GetQaScorecardAsync(GetQaScorecardRequest request, CancellationToken cancellationToken)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaScorecardRequest request = new GetQaScorecardRequest
{
QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(request);
GetQaScorecardAsync(QaScorecardName, CallSettings)
public virtual Task<QaScorecard> GetQaScorecardAsync(QaScorecardName name, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name);
GetQaScorecardAsync(QaScorecardName, CancellationToken)
public virtual Task<QaScorecard> GetQaScorecardAsync(QaScorecardName name, CancellationToken cancellationToken)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardName Required. The name of the QaScorecard to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name);
GetQaScorecardAsync(string, CallSettings)
public virtual Task<QaScorecard> GetQaScorecardAsync(string name, CallSettings callSettings = null)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name);
GetQaScorecardAsync(string, CancellationToken)
public virtual Task<QaScorecard> GetQaScorecardAsync(string name, CancellationToken cancellationToken)
Gets a QaScorecard.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecard to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name);
GetQaScorecardRevision(GetQaScorecardRevisionRequest, CallSettings)
public virtual QaScorecardRevision GetQaScorecardRevision(GetQaScorecardRevisionRequest request, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(request);
GetQaScorecardRevision(QaScorecardRevisionName, CallSettings)
public virtual QaScorecardRevision GetQaScorecardRevision(QaScorecardRevisionName name, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name);
GetQaScorecardRevision(string, CallSettings)
public virtual QaScorecardRevision GetQaScorecardRevision(string name, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name);
GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest, CallSettings)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest request, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(request);
GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest, CancellationToken)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
GetQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(request);
GetQaScorecardRevisionAsync(QaScorecardRevisionName, CallSettings)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(QaScorecardRevisionName name, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name);
GetQaScorecardRevisionAsync(QaScorecardRevisionName, CancellationToken)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(QaScorecardRevisionName name, CancellationToken cancellationToken)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
QaScorecardRevisionName Required. The name of the QaScorecardRevision to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name);
GetQaScorecardRevisionAsync(string, CallSettings)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(string name, CallSettings callSettings = null)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to get. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name);
GetQaScorecardRevisionAsync(string, CancellationToken)
public virtual Task<QaScorecardRevision> GetQaScorecardRevisionAsync(string name, CancellationToken cancellationToken)
Gets a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the QaScorecardRevision to get. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name);
GetSettings(GetSettingsRequest, CallSettings)
public virtual Settings GetSettings(GetSettingsRequest request, CallSettings callSettings = null)
Gets project-level settings.
Parameters | |
---|---|
Name | Description |
request |
GetSettingsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
SettingsName Required. The name of the settings resource to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the settings resource to get. |
callSettings |
CallSettings If 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 |
GetSettingsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetSettingsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
SettingsName Required. The name of the settings resource to get. |
callSettings |
CallSettings If 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 |
SettingsName Required. The name of the settings resource to get. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the settings resource to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the settings resource to get. |
cancellationToken |
CancellationToken A 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 |
GetViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
ViewName Required. The name of the view to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the view to get. |
callSettings |
CallSettings If 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 |
GetViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
GetViewRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
ViewName Required. The name of the view to get. |
callSettings |
CallSettings If 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 |
ViewName Required. The name of the view to get. |
cancellationToken |
CancellationToken A 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 |
string Required. The name of the view to get. |
callSettings |
CallSettings If 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 |
string Required. The name of the view to get. |
cancellationToken |
CancellationToken A 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);
ImportIssueModel(LocationName, CallSettings)
public virtual Operation<ImportIssueModelResponse, ImportIssueModelMetadata> ImportIssueModel(LocationName parent, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the issue model. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationImportIssueModelResponseImportIssueModelMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> response = contactCenterInsightsClient.ImportIssueModel(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModel(ImportIssueModelRequest, CallSettings)
public virtual Operation<ImportIssueModelResponse, ImportIssueModelMetadata> ImportIssueModel(ImportIssueModelRequest request, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
request |
ImportIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationImportIssueModelResponseImportIssueModelMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ImportIssueModelRequest request = new ImportIssueModelRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new ImportIssueModelRequest.Types.GcsSource(),
CreateNewModel = false,
};
// Make the request
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> response = contactCenterInsightsClient.ImportIssueModel(request);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModel(string, CallSettings)
public virtual Operation<ImportIssueModelResponse, ImportIssueModelMetadata> ImportIssueModel(string parent, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the issue model. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationImportIssueModelResponseImportIssueModelMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> response = contactCenterInsightsClient.ImportIssueModel(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(LocationName, CallSettings)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(LocationName parent, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the issue model. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
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<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(LocationName, CancellationToken)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(LocationName parent, CancellationToken cancellationToken)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the issue model. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
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<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(ImportIssueModelRequest, CallSettings)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(ImportIssueModelRequest request, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
request |
ImportIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ImportIssueModelRequest request = new ImportIssueModelRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new ImportIssueModelRequest.Types.GcsSource(),
CreateNewModel = false,
};
// Make the request
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(request);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(ImportIssueModelRequest, CancellationToken)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(ImportIssueModelRequest request, CancellationToken cancellationToken)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
request |
ImportIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ImportIssueModelRequest request = new ImportIssueModelRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
GcsSource = new ImportIssueModelRequest.Types.GcsSource(),
CreateNewModel = false,
};
// Make the request
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(request);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(string, CallSettings)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(string parent, CallSettings callSettings = null)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the issue model. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
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<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
ImportIssueModelAsync(string, CancellationToken)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> ImportIssueModelAsync(string parent, CancellationToken cancellationToken)
Imports an issue model from a Cloud Storage bucket.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the issue model. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
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<ImportIssueModelResponse, ImportIssueModelMetadata> response = await contactCenterInsightsClient.ImportIssueModelAsync(parent);
// Poll until the returned long-running operation is complete
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportIssueModelResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportIssueModelResponse, ImportIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportIssueModelResponse retrievedResult = retrievedResponse.Result;
}
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 |
LocationName Required. The parent resource for new conversations. |
callSettings |
CallSettings If 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 |
IngestConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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(),
RedactionConfig = new RedactionConfig(),
SpeechConfig = new SpeechConfig(),
SampleSize = 0,
};
// 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 |
string Required. The parent resource for new conversations. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource for new conversations. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource for new conversations. |
cancellationToken |
CancellationToken A 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 |
IngestConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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(),
RedactionConfig = new RedactionConfig(),
SpeechConfig = new SpeechConfig(),
SampleSize = 0,
};
// 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 |
IngestConversationsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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(),
RedactionConfig = new RedactionConfig(),
SpeechConfig = new SpeechConfig(),
SampleSize = 0,
};
// 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 |
string Required. The parent resource for new conversations. |
callSettings |
CallSettings If 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 |
string Required. The parent resource for new conversations. |
cancellationToken |
CancellationToken A 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;
}
InitializeEncryptionSpec(EncryptionSpec, CallSettings)
public virtual Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> InitializeEncryptionSpec(EncryptionSpec encryptionSpec, CallSettings callSettings = null)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
encryptionSpec |
EncryptionSpec Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
EncryptionSpec encryptionSpec = new EncryptionSpec();
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = contactCenterInsightsClient.InitializeEncryptionSpec(encryptionSpec);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
InitializeEncryptionSpec(InitializeEncryptionSpecRequest, CallSettings)
public virtual Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, CallSettings callSettings = null)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
request |
InitializeEncryptionSpecRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest
{
EncryptionSpec = new EncryptionSpec(),
};
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = contactCenterInsightsClient.InitializeEncryptionSpec(request);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
InitializeEncryptionSpecAsync(EncryptionSpec, CallSettings)
public virtual Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> InitializeEncryptionSpecAsync(EncryptionSpec encryptionSpec, CallSettings callSettings = null)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
encryptionSpec |
EncryptionSpec Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
EncryptionSpec encryptionSpec = new EncryptionSpec();
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(encryptionSpec);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
InitializeEncryptionSpecAsync(EncryptionSpec, CancellationToken)
public virtual Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> InitializeEncryptionSpecAsync(EncryptionSpec encryptionSpec, CancellationToken cancellationToken)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
encryptionSpec |
EncryptionSpec Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
EncryptionSpec encryptionSpec = new EncryptionSpec();
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(encryptionSpec);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest, CallSettings)
public virtual Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, CallSettings callSettings = null)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
request |
InitializeEncryptionSpecRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest
{
EncryptionSpec = new EncryptionSpec(),
};
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(request);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest, CancellationToken)
public virtual Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, CancellationToken cancellationToken)
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
Parameters | |
---|---|
Name | Description |
request |
InitializeEncryptionSpecRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest
{
EncryptionSpec = new EncryptionSpec(),
};
// Make the request
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(request);
// Poll until the returned long-running operation is complete
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InitializeEncryptionSpecResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result;
}
ListAllFeedbackLabels(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabels(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of all feedback labels per project. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabels(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListAllFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListAllFeedbackLabels(ListAllFeedbackLabelsRequest, CallSettings)
public virtual PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabels(ListAllFeedbackLabelsRequest request, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
request |
ListAllFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabels(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListAllFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListAllFeedbackLabels(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabels(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of all feedback labels per project. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabels(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListAllFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListAllFeedbackLabelsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabelsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of all feedback labels per project. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListAllFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListAllFeedbackLabelsAsync(ListAllFeedbackLabelsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabelsAsync(ListAllFeedbackLabelsRequest request, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
request |
ListAllFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListAllFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListAllFeedbackLabelsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> ListAllFeedbackLabelsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all feedback labels by project number.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of all feedback labels per project. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAllFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAllFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListAllFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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(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 |
ConversationName Required. The parent resource of the analyses. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListAnalysesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the analyses. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ConversationName Required. The parent resource of the analyses. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListAnalysesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the analyses. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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;
ListAnalysisRules(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRules(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the analysis rules. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AnalysisRule 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 (ListAnalysisRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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;
ListAnalysisRules(ListAnalysisRulesRequest, CallSettings)
public virtual PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRules(ListAnalysisRulesRequest request, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
request |
ListAnalysisRulesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListAnalysisRulesRequest request = new ListAnalysisRulesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRules(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AnalysisRule 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 (ListAnalysisRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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;
ListAnalysisRules(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRules(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the analysis rules. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AnalysisRule 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 (ListAnalysisRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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;
ListAnalysisRulesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRulesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the analysis rules. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable asynchronous sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AnalysisRule 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((ListAnalysisRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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;
ListAnalysisRulesAsync(ListAnalysisRulesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRulesAsync(ListAnalysisRulesRequest request, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
request |
ListAnalysisRulesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable asynchronous sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListAnalysisRulesRequest request = new ListAnalysisRulesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRulesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AnalysisRule 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((ListAnalysisRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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;
ListAnalysisRulesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> ListAnalysisRulesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists analysis rules.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the analysis rules. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListAnalysisRulesResponseAnalysisRule |
A pageable asynchronous sequence of AnalysisRule resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAnalysisRulesResponse, AnalysisRule> response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AnalysisRule 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((ListAnalysisRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AnalysisRule 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<AnalysisRule> 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 (AnalysisRule 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 |
LocationName Required. The parent resource of the conversation. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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,
OrderBy = "",
};
// 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 |
string Required. The parent resource of the conversation. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the conversation. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListConversationsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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,
OrderBy = "",
};
// 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 |
string Required. The parent resource of the conversation. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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;
ListFeedbackLabels(ConversationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabels(ConversationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
parent |
ConversationName Required. The parent resource of the feedback labels. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabels(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListFeedbackLabels(ListFeedbackLabelsRequest, CallSettings)
public virtual PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabels(ListFeedbackLabelsRequest request, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
request |
ListFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest
{
ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabels(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListFeedbackLabels(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabels(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the feedback labels. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
PagedEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabels(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FeedbackLabel 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 (ListFeedbackLabelsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListFeedbackLabelsAsync(ConversationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabelsAsync(ConversationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
parent |
ConversationName Required. The parent resource of the feedback labels. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListFeedbackLabelsAsync(ListFeedbackLabelsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabelsAsync(ListFeedbackLabelsRequest request, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
request |
ListFeedbackLabelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest
{
ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabelsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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;
ListFeedbackLabelsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> ListFeedbackLabelsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List feedback labels.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the feedback labels. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListFeedbackLabelsResponseFeedbackLabel |
A pageable asynchronous sequence of FeedbackLabel resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
PagedAsyncEnumerable<ListFeedbackLabelsResponse, FeedbackLabel> response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeedbackLabel 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((ListFeedbackLabelsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FeedbackLabel 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<FeedbackLabel> 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 (FeedbackLabel 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 |
LocationName Required. The parent resource of the issue model. |
callSettings |
CallSettings If 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 |
ListIssueModelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the issue model. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the issue model. |
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the issue model. |
cancellationToken |
CancellationToken A 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 |
ListIssueModelsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
ListIssueModelsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the issue model. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the issue model. |
cancellationToken |
CancellationToken A 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 |
IssueModelName Required. The parent resource of the issue. |
callSettings |
CallSettings If 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 |
ListIssuesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the issue. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The parent resource of the issue. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The parent resource of the issue. |
cancellationToken |
CancellationToken A 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 |
ListIssuesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
ListIssuesRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The parent resource of the issue. |
callSettings |
CallSettings If 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 |
string Required. The parent resource of the issue. |
cancellationToken |
CancellationToken A 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 |
LocationName Required. The parent resource of the phrase matcher. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListPhraseMatchersRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the phrase matcher. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the phrase matcher. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListPhraseMatchersRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the phrase matcher. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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;
ListQaQuestions(ListQaQuestionsRequest, CallSettings)
public virtual PagedEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestions(ListQaQuestionsRequest request, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
request |
ListQaQuestionsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaQuestionsResponseQaQuestion |
A pageable sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListQaQuestionsRequest request = new ListQaQuestionsRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
PagedEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaQuestion 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 (ListQaQuestionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaQuestions(QaScorecardRevisionName, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestions(QaScorecardRevisionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource of the questions. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaQuestionsResponseQaQuestion |
A pageable sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
PagedEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaQuestion 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 (ListQaQuestionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaQuestions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the questions. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaQuestionsResponseQaQuestion |
A pageable sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
PagedEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaQuestion 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 (ListQaQuestionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaQuestionsAsync(ListQaQuestionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestionsAsync(ListQaQuestionsRequest request, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
request |
ListQaQuestionsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaQuestionsResponseQaQuestion |
A pageable asynchronous sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListQaQuestionsRequest request = new ListQaQuestionsRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaQuestion 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((ListQaQuestionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaQuestionsAsync(QaScorecardRevisionName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestionsAsync(QaScorecardRevisionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource of the questions. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaQuestionsResponseQaQuestion |
A pageable asynchronous sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
// Make the request
PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaQuestion 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((ListQaQuestionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaQuestionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> ListQaQuestionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaQuestions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the questions. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaQuestionsResponseQaQuestion |
A pageable asynchronous sequence of QaQuestion resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
// Make the request
PagedAsyncEnumerable<ListQaQuestionsResponse, QaQuestion> response = contactCenterInsightsClient.ListQaQuestionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaQuestion 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((ListQaQuestionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaQuestion 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<QaQuestion> 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 (QaQuestion 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;
ListQaScorecardRevisions(ListQaScorecardRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisions(ListQaScorecardRevisionsRequest request, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
ListQaScorecardRevisionsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest
{
ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecardRevision 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 (ListQaScorecardRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecardRevisions(QaScorecardName, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisions(QaScorecardName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardName Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecardRevision 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 (ListQaScorecardRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecardRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
PagedEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecardRevision 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 (ListQaScorecardRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecardRevisionsAsync(ListQaScorecardRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisionsAsync(ListQaScorecardRevisionsRequest request, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
ListQaScorecardRevisionsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable asynchronous sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest
{
ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecardRevision 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((ListQaScorecardRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecardRevisionsAsync(QaScorecardName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisionsAsync(QaScorecardName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardName Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable asynchronous sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]");
// Make the request
PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecardRevision 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((ListQaScorecardRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecardRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> ListQaScorecardRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all revisions under the parent QaScorecard.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardRevisionsResponseQaScorecardRevision |
A pageable asynchronous sequence of QaScorecardRevision resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]";
// Make the request
PagedAsyncEnumerable<ListQaScorecardRevisionsResponse, QaScorecardRevision> response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecardRevision 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((ListQaScorecardRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecardRevision 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<QaScorecardRevision> 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 (QaScorecardRevision 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;
ListQaScorecards(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecards(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the scorecards. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardsResponseQaScorecard |
A pageable sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecards(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecard 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 (ListQaScorecardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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;
ListQaScorecards(ListQaScorecardsRequest, CallSettings)
public virtual PagedEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecards(ListQaScorecardsRequest request, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
request |
ListQaScorecardsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardsResponseQaScorecard |
A pageable sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListQaScorecardsRequest request = new ListQaScorecardsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecards(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecard 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 (ListQaScorecardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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;
ListQaScorecards(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecards(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the scorecards. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListQaScorecardsResponseQaScorecard |
A pageable sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecards(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (QaScorecard 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 (ListQaScorecardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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;
ListQaScorecardsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecardsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. The parent resource of the scorecards. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardsResponseQaScorecard |
A pageable asynchronous sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecardsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecard 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((ListQaScorecardsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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;
ListQaScorecardsAsync(ListQaScorecardsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecardsAsync(ListQaScorecardsRequest request, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
request |
ListQaScorecardsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardsResponseQaScorecard |
A pageable asynchronous sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListQaScorecardsRequest request = new ListQaScorecardsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecardsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecard 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((ListQaScorecardsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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;
ListQaScorecardsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> ListQaScorecardsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists QaScorecards.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource of the scorecards. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListQaScorecardsResponseQaScorecard |
A pageable asynchronous sequence of QaScorecard resources. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListQaScorecardsResponse, QaScorecard> response = contactCenterInsightsClient.ListQaScorecardsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((QaScorecard 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((ListQaScorecardsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (QaScorecard 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<QaScorecard> 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 (QaScorecard 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 |
LocationName Required. The parent resource of the views. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListViewsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the views. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
LocationName Required. The parent resource of the views. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
ListViewsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The parent resource of the views. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A task representing the result of polling the operation. |
PollOnceBulkDeleteConversations(string, CallSettings)
public virtual Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata> PollOnceBulkDeleteConversations(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
BulkDeleteConversations
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
The result of polling the operation. |
PollOnceBulkDeleteConversationsAsync(string, CallSettings)
public virtual Task<Operation<BulkDeleteConversationsResponse, BulkDeleteConversationsMetadata>> PollOnceBulkDeleteConversationsAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
BulkDeleteConversations
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDeleteConversationsResponseBulkDeleteConversationsMetadata |
A task representing the result of polling the operation. |
PollOnceBulkDownloadFeedbackLabels(string, CallSettings)
public virtual Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata> PollOnceBulkDownloadFeedbackLabels(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
BulkDownloadFeedbackLabels
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
The result of polling the operation. |
PollOnceBulkDownloadFeedbackLabelsAsync(string, CallSettings)
public virtual Task<Operation<BulkDownloadFeedbackLabelsResponse, BulkDownloadFeedbackLabelsMetadata>> PollOnceBulkDownloadFeedbackLabelsAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
BulkDownloadFeedbackLabels
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkDownloadFeedbackLabelsResponseBulkDownloadFeedbackLabelsMetadata |
A task representing the result of polling the operation. |
PollOnceBulkUploadFeedbackLabels(string, CallSettings)
public virtual Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata> PollOnceBulkUploadFeedbackLabels(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
BulkUploadFeedbackLabels
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
The result of polling the operation. |
PollOnceBulkUploadFeedbackLabelsAsync(string, CallSettings)
public virtual Task<Operation<BulkUploadFeedbackLabelsResponse, BulkUploadFeedbackLabelsMetadata>> PollOnceBulkUploadFeedbackLabelsAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
BulkUploadFeedbackLabels
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBulkUploadFeedbackLabelsResponseBulkUploadFeedbackLabelsMetadata |
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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A task representing the result of polling the operation. |
PollOnceExportIssueModel(string, CallSettings)
public virtual Operation<ExportIssueModelResponse, ExportIssueModelMetadata> PollOnceExportIssueModel(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of ExportIssueModel
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationExportIssueModelResponseExportIssueModelMetadata |
The result of polling the operation. |
PollOnceExportIssueModelAsync(string, CallSettings)
public virtual Task<Operation<ExportIssueModelResponse, ExportIssueModelMetadata>> PollOnceExportIssueModelAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
ExportIssueModel
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationExportIssueModelResponseExportIssueModelMetadata |
A task representing the result of polling the operation. |
PollOnceImportIssueModel(string, CallSettings)
public virtual Operation<ImportIssueModelResponse, ImportIssueModelMetadata> PollOnceImportIssueModel(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of ImportIssueModel
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationImportIssueModelResponseImportIssueModelMetadata |
The result of polling the operation. |
PollOnceImportIssueModelAsync(string, CallSettings)
public virtual Task<Operation<ImportIssueModelResponse, ImportIssueModelMetadata>> PollOnceImportIssueModelAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
ImportIssueModel
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationImportIssueModelResponseImportIssueModelMetadata |
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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A task representing the result of polling the operation. |
PollOnceInitializeEncryptionSpec(string, CallSettings)
public virtual Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> PollOnceInitializeEncryptionSpec(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
InitializeEncryptionSpec
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
The result of polling the operation. |
PollOnceInitializeEncryptionSpecAsync(string, CallSettings)
public virtual Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> PollOnceInitializeEncryptionSpecAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
InitializeEncryptionSpec
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata |
A task representing the result of polling the operation. |
PollOnceQueryMetrics(string, CallSettings)
public virtual Operation<QueryMetricsResponse, QueryMetricsMetadata> PollOnceQueryMetrics(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of QueryMetrics
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationQueryMetricsResponseQueryMetricsMetadata |
The result of polling the operation. |
PollOnceQueryMetricsAsync(string, CallSettings)
public virtual Task<Operation<QueryMetricsResponse, QueryMetricsMetadata>> PollOnceQueryMetricsAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
QueryMetrics
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationQueryMetricsResponseQueryMetricsMetadata |
A task representing the result of polling the operation. |
PollOnceTuneQaScorecardRevision(string, CallSettings)
public virtual Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> PollOnceTuneQaScorecardRevision(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
TuneQaScorecardRevision
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
The result of polling the operation. |
PollOnceTuneQaScorecardRevisionAsync(string, CallSettings)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> PollOnceTuneQaScorecardRevisionAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
TuneQaScorecardRevision
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If 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 |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationConversationUploadConversationMetadata |
A task representing the result of polling the operation. |
QueryMetrics(QueryMetricsRequest, CallSettings)
public virtual Operation<QueryMetricsResponse, QueryMetricsMetadata> QueryMetrics(QueryMetricsRequest request, CallSettings callSettings = null)
Query metrics.
Parameters | |
---|---|
Name | Description |
request |
QueryMetricsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationQueryMetricsResponseQueryMetricsMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QueryMetricsRequest request = new QueryMetricsRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified,
Dimensions = { new Dimension(), },
MeasureMask = new FieldMask(),
};
// Make the request
Operation<QueryMetricsResponse, QueryMetricsMetadata> response = contactCenterInsightsClient.QueryMetrics(request);
// Poll until the returned long-running operation is complete
Operation<QueryMetricsResponse, QueryMetricsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
QueryMetricsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<QueryMetricsResponse, QueryMetricsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceQueryMetrics(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
QueryMetricsResponse retrievedResult = retrievedResponse.Result;
}
QueryMetricsAsync(QueryMetricsRequest, CallSettings)
public virtual Task<Operation<QueryMetricsResponse, QueryMetricsMetadata>> QueryMetricsAsync(QueryMetricsRequest request, CallSettings callSettings = null)
Query metrics.
Parameters | |
---|---|
Name | Description |
request |
QueryMetricsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationQueryMetricsResponseQueryMetricsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QueryMetricsRequest request = new QueryMetricsRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified,
Dimensions = { new Dimension(), },
MeasureMask = new FieldMask(),
};
// Make the request
Operation<QueryMetricsResponse, QueryMetricsMetadata> response = await contactCenterInsightsClient.QueryMetricsAsync(request);
// Poll until the returned long-running operation is complete
Operation<QueryMetricsResponse, QueryMetricsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
QueryMetricsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<QueryMetricsResponse, QueryMetricsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceQueryMetricsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
QueryMetricsResponse retrievedResult = retrievedResponse.Result;
}
QueryMetricsAsync(QueryMetricsRequest, CancellationToken)
public virtual Task<Operation<QueryMetricsResponse, QueryMetricsMetadata>> QueryMetricsAsync(QueryMetricsRequest request, CancellationToken cancellationToken)
Query metrics.
Parameters | |
---|---|
Name | Description |
request |
QueryMetricsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationQueryMetricsResponseQueryMetricsMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QueryMetricsRequest request = new QueryMetricsRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified,
Dimensions = { new Dimension(), },
MeasureMask = new FieldMask(),
};
// Make the request
Operation<QueryMetricsResponse, QueryMetricsMetadata> response = await contactCenterInsightsClient.QueryMetricsAsync(request);
// Poll until the returned long-running operation is complete
Operation<QueryMetricsResponse, QueryMetricsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
QueryMetricsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<QueryMetricsResponse, QueryMetricsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceQueryMetricsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
QueryMetricsResponse retrievedResult = retrievedResponse.Result;
}
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.
TuneQaScorecardRevision(QaScorecardRevisionName, string, bool, CallSettings)
public virtual Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> TuneQaScorecardRevision(QaScorecardRevisionName parent, string filter, bool validateOnly, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevision(TuneQaScorecardRevisionRequest, CallSettings)
public virtual Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> TuneQaScorecardRevision(TuneQaScorecardRevisionRequest request, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
request |
TuneQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Filter = "",
ValidateOnly = false,
};
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = contactCenterInsightsClient.TuneQaScorecardRevision(request);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevision(string, string, bool, CallSettings)
public virtual Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> TuneQaScorecardRevision(string parent, string filter, bool validateOnly, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(QaScorecardRevisionName, string, bool, CallSettings)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(QaScorecardRevisionName parent, string filter, bool validateOnly, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(QaScorecardRevisionName, string, bool, CancellationToken)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(QaScorecardRevisionName parent, string filter, bool validateOnly, CancellationToken cancellationToken)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
QaScorecardRevisionName Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]");
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest, CallSettings)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest request, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
request |
TuneQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Filter = "",
ValidateOnly = false,
};
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest, CancellationToken)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
request |
TuneQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest
{
ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
Filter = "",
ValidateOnly = false,
};
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(string, string, bool, CallSettings)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(string parent, string filter, bool validateOnly, CallSettings callSettings = null)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
TuneQaScorecardRevisionAsync(string, string, bool, CancellationToken)
public virtual Task<Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata>> TuneQaScorecardRevisionAsync(string parent, string filter, bool validateOnly, CancellationToken cancellationToken)
Fine tune one or more QaModels.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The parent resource for new fine tuning job instance. |
filter |
string Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc. |
validateOnly |
bool Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTuneQaScorecardRevisionResponseTuneQaScorecardRevisionMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]";
string filter = "";
bool validateOnly = false;
// Make the request
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly);
// Poll until the returned long-running operation is complete
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TuneQaScorecardRevisionResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<TuneQaScorecardRevisionResponse, TuneQaScorecardRevisionMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result;
}
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 |
IssueModelName Required. The issue model to undeploy. |
callSettings |
CallSettings If 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 |
UndeployIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
string Required. The issue model to undeploy. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The issue model to undeploy. |
callSettings |
CallSettings If 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 |
IssueModelName Required. The issue model to undeploy. |
cancellationToken |
CancellationToken A 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 |
UndeployIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UndeployIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
string Required. The issue model to undeploy. |
callSettings |
CallSettings If 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 |
string Required. The issue model to undeploy. |
cancellationToken |
CancellationToken A 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;
}
UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest, CallSettings)
public virtual QaScorecardRevision UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest request, CallSettings callSettings = null)
Undeploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
UndeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = contactCenterInsightsClient.UndeployQaScorecardRevision(request);
UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest, CallSettings)
public virtual Task<QaScorecardRevision> UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest request, CallSettings callSettings = null)
Undeploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
UndeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.UndeployQaScorecardRevisionAsync(request);
UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest, CancellationToken)
public virtual Task<QaScorecardRevision> UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest request, CancellationToken cancellationToken)
Undeploy a QaScorecardRevision.
Parameters | |
---|---|
Name | Description |
request |
UndeployQaScorecardRevisionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecardRevision |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest
{
QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"),
};
// Make the request
QaScorecardRevision response = await contactCenterInsightsClient.UndeployQaScorecardRevisionAsync(request);
UpdateAnalysisRule(AnalysisRule, FieldMask, CallSettings)
public virtual AnalysisRule UpdateAnalysisRule(AnalysisRule analysisRule, FieldMask updateMask, CallSettings callSettings = null)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
analysisRule |
AnalysisRule Required. The new analysis rule. |
updateMask |
FieldMask Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
AnalysisRule analysisRule = new AnalysisRule();
FieldMask updateMask = new FieldMask();
// Make the request
AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(analysisRule, updateMask);
UpdateAnalysisRule(UpdateAnalysisRuleRequest, CallSettings)
public virtual AnalysisRule UpdateAnalysisRule(UpdateAnalysisRuleRequest request, CallSettings callSettings = null)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnalysisRule |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest
{
AnalysisRule = new AnalysisRule(),
UpdateMask = new FieldMask(),
};
// Make the request
AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(request);
UpdateAnalysisRuleAsync(AnalysisRule, FieldMask, CallSettings)
public virtual Task<AnalysisRule> UpdateAnalysisRuleAsync(AnalysisRule analysisRule, FieldMask updateMask, CallSettings callSettings = null)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
analysisRule |
AnalysisRule Required. The new analysis rule. |
updateMask |
FieldMask Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisRule analysisRule = new AnalysisRule();
FieldMask updateMask = new FieldMask();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(analysisRule, updateMask);
UpdateAnalysisRuleAsync(AnalysisRule, FieldMask, CancellationToken)
public virtual Task<AnalysisRule> UpdateAnalysisRuleAsync(AnalysisRule analysisRule, FieldMask updateMask, CancellationToken cancellationToken)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
analysisRule |
AnalysisRule Required. The new analysis rule. |
updateMask |
FieldMask Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisRule analysisRule = new AnalysisRule();
FieldMask updateMask = new FieldMask();
// Make the request
AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(analysisRule, updateMask);
UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest, CallSettings)
public virtual Task<AnalysisRule> UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest request, CallSettings callSettings = null)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest
{
AnalysisRule = new AnalysisRule(),
UpdateMask = new FieldMask(),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(request);
UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest, CancellationToken)
public virtual Task<AnalysisRule> UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest request, CancellationToken cancellationToken)
Updates a analysis rule.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnalysisRuleRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAnalysisRule |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest
{
AnalysisRule = new AnalysisRule(),
UpdateMask = new FieldMask(),
};
// Make the request
AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(request);
UpdateConversation(Conversation, FieldMask, CallSettings)
public virtual Conversation UpdateConversation(Conversation conversation, FieldMask updateMask, CallSettings callSettings = null)
Updates a conversation.
Parameters | |
---|---|
Name | Description |
conversation |
Conversation Required. The new values for the conversation. |
updateMask |
FieldMask The list of fields to be updated. All possible fields can be updated by
passing
|
callSettings |
CallSettings If 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 |
UpdateConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
Conversation Required. The new values for the conversation. |
updateMask |
FieldMask The list of fields to be updated. All possible fields can be updated by
passing
|
callSettings |
CallSettings If 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 |
Conversation Required. The new values for the conversation. |
updateMask |
FieldMask The list of fields to be updated. All possible fields can be updated by
passing
|
cancellationToken |
CancellationToken A 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 |
UpdateConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdateConversationRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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);
UpdateFeedbackLabel(FeedbackLabel, FieldMask, CallSettings)
public virtual FeedbackLabel UpdateFeedbackLabel(FeedbackLabel feedbackLabel, FieldMask updateMask, CallSettings callSettings = null)
Update feedback label.
Parameters | |
---|---|
Name | Description |
feedbackLabel |
FeedbackLabel Required. The feedback label to update. |
updateMask |
FieldMask Required. The list of fields to be updated. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
FeedbackLabel feedbackLabel = new FeedbackLabel();
FieldMask updateMask = new FieldMask();
// Make the request
FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(feedbackLabel, updateMask);
UpdateFeedbackLabel(UpdateFeedbackLabelRequest, CallSettings)
public virtual FeedbackLabel UpdateFeedbackLabel(UpdateFeedbackLabelRequest request, CallSettings callSettings = null)
Update feedback label.
Parameters | |
---|---|
Name | Description |
request |
UpdateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FeedbackLabel |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest
{
FeedbackLabel = new FeedbackLabel(),
UpdateMask = new FieldMask(),
};
// Make the request
FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(request);
UpdateFeedbackLabelAsync(FeedbackLabel, FieldMask, CallSettings)
public virtual Task<FeedbackLabel> UpdateFeedbackLabelAsync(FeedbackLabel feedbackLabel, FieldMask updateMask, CallSettings callSettings = null)
Update feedback label.
Parameters | |
---|---|
Name | Description |
feedbackLabel |
FeedbackLabel Required. The feedback label to update. |
updateMask |
FieldMask Required. The list of fields to be updated. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
FeedbackLabel feedbackLabel = new FeedbackLabel();
FieldMask updateMask = new FieldMask();
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(feedbackLabel, updateMask);
UpdateFeedbackLabelAsync(FeedbackLabel, FieldMask, CancellationToken)
public virtual Task<FeedbackLabel> UpdateFeedbackLabelAsync(FeedbackLabel feedbackLabel, FieldMask updateMask, CancellationToken cancellationToken)
Update feedback label.
Parameters | |
---|---|
Name | Description |
feedbackLabel |
FeedbackLabel Required. The feedback label to update. |
updateMask |
FieldMask Required. The list of fields to be updated. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
FeedbackLabel feedbackLabel = new FeedbackLabel();
FieldMask updateMask = new FieldMask();
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(feedbackLabel, updateMask);
UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest, CallSettings)
public virtual Task<FeedbackLabel> UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest request, CallSettings callSettings = null)
Update feedback label.
Parameters | |
---|---|
Name | Description |
request |
UpdateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest
{
FeedbackLabel = new FeedbackLabel(),
UpdateMask = new FieldMask(),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(request);
UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest, CancellationToken)
public virtual Task<FeedbackLabel> UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest request, CancellationToken cancellationToken)
Update feedback label.
Parameters | |
---|---|
Name | Description |
request |
UpdateFeedbackLabelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskFeedbackLabel |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest
{
FeedbackLabel = new FeedbackLabel(),
UpdateMask = new FieldMask(),
};
// Make the request
FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(request);
UpdateIssue(Issue, FieldMask, CallSettings)
public virtual Issue UpdateIssue(Issue issue, FieldMask updateMask, CallSettings callSettings = null)
Updates an issue.
Parameters | |
---|---|
Name | Description |
issue |
Issue Required. The new values for the issue. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
UpdateIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
Issue Required. The new values for the issue. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
Issue Required. The new values for the issue. |
updateMask |
FieldMask The list of fields to be updated. |
cancellationToken |
CancellationToken A 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 |
UpdateIssueRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdateIssueRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
IssueModel Required. The new values for the issue model. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
UpdateIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
IssueModel Required. The new values for the issue model. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
IssueModel Required. The new values for the issue model. |
updateMask |
FieldMask The list of fields to be updated. |
cancellationToken |
CancellationToken A 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 |
UpdateIssueModelRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdateIssueModelRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
PhraseMatcher Required. The new values for the phrase matcher. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
UpdatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
PhraseMatcher Required. The new values for the phrase matcher. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
PhraseMatcher Required. The new values for the phrase matcher. |
updateMask |
FieldMask The list of fields to be updated. |
cancellationToken |
CancellationToken A 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 |
UpdatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdatePhraseMatcherRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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);
UpdateQaQuestion(QaQuestion, FieldMask, CallSettings)
public virtual QaQuestion UpdateQaQuestion(QaQuestion qaQuestion, FieldMask updateMask, CallSettings callSettings = null)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
qaQuestion |
QaQuestion Required. The QaQuestion to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaQuestion qaQuestion = new QaQuestion();
FieldMask updateMask = new FieldMask();
// Make the request
QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(qaQuestion, updateMask);
UpdateQaQuestion(UpdateQaQuestionRequest, CallSettings)
public virtual QaQuestion UpdateQaQuestion(UpdateQaQuestionRequest request, CallSettings callSettings = null)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaQuestion |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateQaQuestionRequest request = new UpdateQaQuestionRequest
{
QaQuestion = new QaQuestion(),
UpdateMask = new FieldMask(),
};
// Make the request
QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(request);
UpdateQaQuestionAsync(QaQuestion, FieldMask, CallSettings)
public virtual Task<QaQuestion> UpdateQaQuestionAsync(QaQuestion qaQuestion, FieldMask updateMask, CallSettings callSettings = null)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
qaQuestion |
QaQuestion Required. The QaQuestion to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaQuestion qaQuestion = new QaQuestion();
FieldMask updateMask = new FieldMask();
// Make the request
QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(qaQuestion, updateMask);
UpdateQaQuestionAsync(QaQuestion, FieldMask, CancellationToken)
public virtual Task<QaQuestion> UpdateQaQuestionAsync(QaQuestion qaQuestion, FieldMask updateMask, CancellationToken cancellationToken)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
qaQuestion |
QaQuestion Required. The QaQuestion to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaQuestion qaQuestion = new QaQuestion();
FieldMask updateMask = new FieldMask();
// Make the request
QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(qaQuestion, updateMask);
UpdateQaQuestionAsync(UpdateQaQuestionRequest, CallSettings)
public virtual Task<QaQuestion> UpdateQaQuestionAsync(UpdateQaQuestionRequest request, CallSettings callSettings = null)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaQuestionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateQaQuestionRequest request = new UpdateQaQuestionRequest
{
QaQuestion = new QaQuestion(),
UpdateMask = new FieldMask(),
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(request);
UpdateQaQuestionAsync(UpdateQaQuestionRequest, CancellationToken)
public virtual Task<QaQuestion> UpdateQaQuestionAsync(UpdateQaQuestionRequest request, CancellationToken cancellationToken)
Updates a QaQuestion.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaQuestionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaQuestion |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateQaQuestionRequest request = new UpdateQaQuestionRequest
{
QaQuestion = new QaQuestion(),
UpdateMask = new FieldMask(),
};
// Make the request
QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(request);
UpdateQaScorecard(QaScorecard, FieldMask, CallSettings)
public virtual QaScorecard UpdateQaScorecard(QaScorecard qaScorecard, FieldMask updateMask, CallSettings callSettings = null)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
qaScorecard |
QaScorecard Required. The QaScorecard to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
QaScorecard qaScorecard = new QaScorecard();
FieldMask updateMask = new FieldMask();
// Make the request
QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(qaScorecard, updateMask);
UpdateQaScorecard(UpdateQaScorecardRequest, CallSettings)
public virtual QaScorecard UpdateQaScorecard(UpdateQaScorecardRequest request, CallSettings callSettings = null)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
QaScorecard |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateQaScorecardRequest request = new UpdateQaScorecardRequest
{
QaScorecard = new QaScorecard(),
UpdateMask = new FieldMask(),
};
// Make the request
QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(request);
UpdateQaScorecardAsync(QaScorecard, FieldMask, CallSettings)
public virtual Task<QaScorecard> UpdateQaScorecardAsync(QaScorecard qaScorecard, FieldMask updateMask, CallSettings callSettings = null)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
qaScorecard |
QaScorecard Required. The QaScorecard to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecard qaScorecard = new QaScorecard();
FieldMask updateMask = new FieldMask();
// Make the request
QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(qaScorecard, updateMask);
UpdateQaScorecardAsync(QaScorecard, FieldMask, CancellationToken)
public virtual Task<QaScorecard> UpdateQaScorecardAsync(QaScorecard qaScorecard, FieldMask updateMask, CancellationToken cancellationToken)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
qaScorecard |
QaScorecard Required. The QaScorecard to update. |
updateMask |
FieldMask Required. The list of fields to be updated. All possible fields can be
updated by passing
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
QaScorecard qaScorecard = new QaScorecard();
FieldMask updateMask = new FieldMask();
// Make the request
QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(qaScorecard, updateMask);
UpdateQaScorecardAsync(UpdateQaScorecardRequest, CallSettings)
public virtual Task<QaScorecard> UpdateQaScorecardAsync(UpdateQaScorecardRequest request, CallSettings callSettings = null)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaScorecardRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateQaScorecardRequest request = new UpdateQaScorecardRequest
{
QaScorecard = new QaScorecard(),
UpdateMask = new FieldMask(),
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(request);
UpdateQaScorecardAsync(UpdateQaScorecardRequest, CancellationToken)
public virtual Task<QaScorecard> UpdateQaScorecardAsync(UpdateQaScorecardRequest request, CancellationToken cancellationToken)
Updates a QaScorecard.
Parameters | |
---|---|
Name | Description |
request |
UpdateQaScorecardRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskQaScorecard |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateQaScorecardRequest request = new UpdateQaScorecardRequest
{
QaScorecard = new QaScorecard(),
UpdateMask = new FieldMask(),
};
// Make the request
QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(request);
UpdateSettings(Settings, FieldMask, CallSettings)
public virtual Settings UpdateSettings(Settings settings, FieldMask updateMask, CallSettings callSettings = null)
Updates project-level settings.
Parameters | |
---|---|
Name | Description |
settings |
Settings Required. The new settings values. |
updateMask |
FieldMask Required. The list of fields to be updated. |
callSettings |
CallSettings If 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 |
UpdateSettingsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
Settings Required. The new settings values. |
updateMask |
FieldMask Required. The list of fields to be updated. |
callSettings |
CallSettings If 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 |
Settings Required. The new settings values. |
updateMask |
FieldMask Required. The list of fields to be updated. |
cancellationToken |
CancellationToken A 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 |
UpdateSettingsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdateSettingsRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
UpdateViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
View Required. The new view. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
UpdateViewRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 |
UpdateViewRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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 |
View Required. The new view. |
updateMask |
FieldMask The list of fields to be updated. |
callSettings |
CallSettings If 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 |
View Required. The new view. |
updateMask |
FieldMask The list of fields to be updated. |
cancellationToken |
CancellationToken A 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 long-running conversation upload operation. This method differs
from CreateConversation
by allowing audio transcription and optional DLP
redaction.
Parameters | |
---|---|
Name | Description |
request |
UploadConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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(),
SpeechConfig = new SpeechConfig(),
};
// 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 long-running conversation upload operation. This method differs
from CreateConversation
by allowing audio transcription and optional DLP
redaction.
Parameters | |
---|---|
Name | Description |
request |
UploadConversationRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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(),
SpeechConfig = new SpeechConfig(),
};
// 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 long-running conversation upload operation. This method differs
from CreateConversation
by allowing audio transcription and optional DLP
redaction.
Parameters | |
---|---|
Name | Description |
request |
UploadConversationRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A 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(),
SpeechConfig = new SpeechConfig(),
};
// 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;
}