Ejemplo n.º 1
0
 /// <summary>Snippet for CalculateIssueModelStats</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CalculateIssueModelStatsResourceNames()
 {
     // 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);
 }
 /// <summary>Snippet for CalculateIssueModelStats</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CalculateIssueModelStats()
 {
     // 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);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for CalculateIssueModelStats</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CalculateIssueModelStatsRequestObject()
 {
     // 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);
 }