From a59c38233d4184d3c1acda966339e337186b1dce Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 24 May 2026 11:02:46 +0000 Subject: [PATCH] feat: Automated regeneration of contactcenterinsights v1 client --- api_names_out.yaml | 25 +++ .../CHANGELOG.md | 4 + .../apis/contactcenterinsights_v1/classes.rb | 170 ++++++++++++++++-- .../contactcenterinsights_v1/gem_version.rb | 4 +- .../representations.rb | 23 +++ .../apis/contactcenterinsights_v1/service.rb | 8 +- 6 files changed, 221 insertions(+), 13 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 6daf840d3ec..088c5fa1ff3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -145071,6 +145071,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/displayName": display_name "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/dispositionCode": disposition_code "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/entrySubagentDisplayName": entry_subagent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/entrySubagentId": entry_subagent_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/location": location "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/team": team "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo/teams": teams @@ -145200,9 +145201,14 @@ : partial_trajectory_step "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata/request": request "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest": google_cloud_contactcenterinsights_v1_diagnose_conversations_request +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/agentDisplayName": agent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/agentId": agent_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/appId": app_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/appVersion": app_version "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/dryRun": dry_run "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/filter": filter "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/fullReport": full_report +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/groupId": group_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/instructions": instructions "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/maxSteps": max_steps "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest/metricType": metric_type @@ -145220,9 +145226,14 @@ ? "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse/fullTrajectorySteps/full_trajectory_step" : full_trajectory_step "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic": google_cloud_contactcenterinsights_v1_diagnostic +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/agentDisplayName": agent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/agentId": agent_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/analysisSummary": analysis_summary +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/appId": app_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/appVersion": app_version "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/conversationFilter": conversation_filter "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/createTime": create_time +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/groupCreateTime": group_create_time "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/name": name "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1Diagnostic/report": report "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1DiagnosticReport": google_cloud_contactcenterinsights_v1_diagnostic_report @@ -146589,6 +146600,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/displayName": display_name "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/dispositionCode": disposition_code "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/entrySubagentDisplayName": entry_subagent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/entrySubagentId": entry_subagent_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/location": location "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/team": team "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo/teams": teams @@ -146692,9 +146704,14 @@ : partial_trajectory_step "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata/request": request "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest": google_cloud_contactcenterinsights_v1alpha1_diagnose_conversations_request +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/agentDisplayName": agent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/agentId": agent_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/appId": app_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/appVersion": app_version "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/dryRun": dry_run "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/filter": filter "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/fullReport": full_report +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/groupId": group_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/instructions": instructions "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/maxSteps": max_steps "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest/metricType": metric_type @@ -147776,6 +147793,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/displayName": display_name "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/dispositionCode": disposition_code "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/entrySubagentDisplayName": entry_subagent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/entrySubagentId": entry_subagent_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/location": location "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/team": team "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo/teams": teams @@ -147878,9 +147896,14 @@ : partial_trajectory_step "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata/request": request "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest": google_cloud_contactcenterinsights_v1main_diagnose_conversations_request +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/agentDisplayName": agent_display_name +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/agentId": agent_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/appId": app_id +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/appVersion": app_version "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/dryRun": dry_run "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/filter": filter "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/fullReport": full_report +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/groupId": group_id "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/instructions": instructions "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/maxSteps": max_steps "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest/metricType": metric_type @@ -149210,6 +149233,8 @@ "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.get": get_project_location_diagnostic "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.get/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list": list_project_location_diagnostics +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list/appId": app_id +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list/appVersion": app_version "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list/filter": filter "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list/pageSize": page_size "/contactcenterinsights:v1/contactcenterinsights.projects.locations.diagnostics.list/pageToken": page_token diff --git a/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md b/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md index 2eecc0ada46..410d8841495 100644 --- a/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md +++ b/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-contactcenterinsights_v1 +### v0.88.0 (2026-05-24) + +* Regenerated from discovery document revision 20260521 + ### v0.87.0 (2026-05-17) * Regenerated from discovery document revision 20260510 diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb index e29deae55af..9d7155c979e 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb @@ -3498,6 +3498,11 @@ class GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo # @return [String] attr_accessor :entry_subagent_display_name + # The entry subagent's ID. + # Corresponds to the JSON property `entrySubagentId` + # @return [String] + attr_accessor :entry_subagent_id + # The agent's location. # Corresponds to the JSON property `location` # @return [String] @@ -3537,6 +3542,7 @@ def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @disposition_code = args[:disposition_code] if args.key?(:disposition_code) @entry_subagent_display_name = args[:entry_subagent_display_name] if args.key?(:entry_subagent_display_name) + @entry_subagent_id = args[:entry_subagent_id] if args.key?(:entry_subagent_id) @location = args[:location] if args.key?(:location) @team = args[:team] if args.key?(:team) @teams = args[:teams] if args.key?(:teams) @@ -4380,7 +4386,7 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata # @return [String] attr_accessor :create_time - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. # Corresponds to the JSON property `diagnosticReport` # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DiagnosticReport] attr_accessor :diagnostic_report @@ -4451,6 +4457,28 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest include Google::Apis::Core::Hashable + # ces agent display name (e.g., "Steering", "Billing"). + # Corresponds to the JSON property `agentDisplayName` + # @return [String] + attr_accessor :agent_display_name + + # ces agent id to diagnose. + # Corresponds to the JSON property `agentId` + # @return [String] + attr_accessor :agent_id + + # Required. The CES App ID. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # Optional. Optional but highly recommended. ces app version. If provided, + # specific version of agent instruction will be retrieved. If empty or set to '-' + # , will use the latest draft version of instruction. + # Corresponds to the JSON property `appVersion` + # @return [String] + attr_accessor :app_version + # Optional. Deprecated: If true, the request will be validated and a simulation # of the analysis will be performed without actually executing the task. This # field is unused. Use validate_only instead. @@ -4473,7 +4501,14 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest attr_accessor :full_report alias_method :full_report?, :full_report - # Optional. Specific instructions for the agent. + # Optional. A unique identifier used to group multiple diagnostic requests + # triggered under the same run batch or cron job. + # Corresponds to the JSON property `groupId` + # @return [String] + attr_accessor :group_id + + # Optional. Deprecated: Specific instructions for the agent. Use app_id and + # subagent fields instead. # Corresponds to the JSON property `instructions` # @return [String] attr_accessor :instructions @@ -4526,9 +4561,14 @@ def initialize(**args) # Update properties of this object def update!(**args) + @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name) + @agent_id = args[:agent_id] if args.key?(:agent_id) + @app_id = args[:app_id] if args.key?(:app_id) + @app_version = args[:app_version] if args.key?(:app_version) @dry_run = args[:dry_run] if args.key?(:dry_run) @filter = args[:filter] if args.key?(:filter) @full_report = args[:full_report] if args.key?(:full_report) + @group_id = args[:group_id] if args.key?(:group_id) @instructions = args[:instructions] if args.key?(:instructions) @max_steps = args[:max_steps] if args.key?(:max_steps) @metric_type = args[:metric_type] if args.key?(:metric_type) @@ -4588,11 +4628,31 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1Diagnostic include Google::Apis::Core::Hashable + # Output only. The display name of the agent associated with the diagnostic. + # Corresponds to the JSON property `agentDisplayName` + # @return [String] + attr_accessor :agent_display_name + + # Output only. The ID of the agent associated with the diagnostic. + # Corresponds to the JSON property `agentId` + # @return [String] + attr_accessor :agent_id + # Output only. The complete sequence of thoughts and actions taken by the agent. # Corresponds to the JSON property `analysisSummary` # @return [String] attr_accessor :analysis_summary + # Output only. The application ID associated with the diagnostic. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # Output only. The application version associated with the diagnostic. + # Corresponds to the JSON property `appVersion` + # @return [String] + attr_accessor :app_version + # Output only. The filter used to select the conversations that were included in # the diagnostic. # Corresponds to the JSON property `conversationFilter` @@ -4604,12 +4664,17 @@ class GoogleCloudContactcenterinsightsV1Diagnostic # @return [String] attr_accessor :create_time + # Output only. The timestamp when the group was created. + # Corresponds to the JSON property `groupCreateTime` + # @return [String] + attr_accessor :group_create_time + # Immutable. Identifier. The resource name of the diagnostic. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. # Corresponds to the JSON property `report` # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DiagnosticReport] attr_accessor :report @@ -4620,15 +4685,20 @@ def initialize(**args) # Update properties of this object def update!(**args) + @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name) + @agent_id = args[:agent_id] if args.key?(:agent_id) @analysis_summary = args[:analysis_summary] if args.key?(:analysis_summary) + @app_id = args[:app_id] if args.key?(:app_id) + @app_version = args[:app_version] if args.key?(:app_version) @conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter) @create_time = args[:create_time] if args.key?(:create_time) + @group_create_time = args[:group_create_time] if args.key?(:group_create_time) @name = args[:name] if args.key?(:name) @report = args[:report] if args.key?(:report) end end - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. class GoogleCloudContactcenterinsightsV1DiagnosticReport include Google::Apis::Core::Hashable @@ -13009,6 +13079,11 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentIn # @return [String] attr_accessor :entry_subagent_display_name + # The entry subagent's ID. + # Corresponds to the JSON property `entrySubagentId` + # @return [String] + attr_accessor :entry_subagent_id + # The agent's location. # Corresponds to the JSON property `location` # @return [String] @@ -13048,6 +13123,7 @@ def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @disposition_code = args[:disposition_code] if args.key?(:disposition_code) @entry_subagent_display_name = args[:entry_subagent_display_name] if args.key?(:entry_subagent_display_name) + @entry_subagent_id = args[:entry_subagent_id] if args.key?(:entry_subagent_id) @location = args[:location] if args.key?(:location) @team = args[:team] if args.key?(:team) @teams = args[:teams] if args.key?(:teams) @@ -13653,7 +13729,7 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata # @return [String] attr_accessor :create_time - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. # Corresponds to the JSON property `diagnosticReport` # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport] attr_accessor :diagnostic_report @@ -13724,6 +13800,28 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest include Google::Apis::Core::Hashable + # ces agent display name (e.g., "Steering", "Billing"). + # Corresponds to the JSON property `agentDisplayName` + # @return [String] + attr_accessor :agent_display_name + + # ces agent id to diagnose. + # Corresponds to the JSON property `agentId` + # @return [String] + attr_accessor :agent_id + + # Required. The CES App ID. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # Optional. Optional but highly recommended. ces app version. If provided, + # specific version of agent instruction will be retrieved. If empty or set to '-' + # , will use the latest draft version of instruction. + # Corresponds to the JSON property `appVersion` + # @return [String] + attr_accessor :app_version + # Optional. Deprecated: If true, the request will be validated and a simulation # of the analysis will be performed without actually executing the task. This # field is unused. Use validate_only instead. @@ -13746,7 +13844,14 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest attr_accessor :full_report alias_method :full_report?, :full_report - # Optional. Specific instructions for the agent. + # Optional. A unique identifier used to group multiple diagnostic requests + # triggered under the same run batch or cron job. + # Corresponds to the JSON property `groupId` + # @return [String] + attr_accessor :group_id + + # Optional. Deprecated: Specific instructions for the agent. Use app_id and + # subagent fields instead. # Corresponds to the JSON property `instructions` # @return [String] attr_accessor :instructions @@ -13799,9 +13904,14 @@ def initialize(**args) # Update properties of this object def update!(**args) + @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name) + @agent_id = args[:agent_id] if args.key?(:agent_id) + @app_id = args[:app_id] if args.key?(:app_id) + @app_version = args[:app_version] if args.key?(:app_version) @dry_run = args[:dry_run] if args.key?(:dry_run) @filter = args[:filter] if args.key?(:filter) @full_report = args[:full_report] if args.key?(:full_report) + @group_id = args[:group_id] if args.key?(:group_id) @instructions = args[:instructions] if args.key?(:instructions) @max_steps = args[:max_steps] if args.key?(:max_steps) @metric_type = args[:metric_type] if args.key?(:metric_type) @@ -13857,7 +13967,7 @@ def update!(**args) end end - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. class GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport include Google::Apis::Core::Hashable @@ -20172,6 +20282,11 @@ class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo # @return [String] attr_accessor :entry_subagent_display_name + # The entry subagent's ID. + # Corresponds to the JSON property `entrySubagentId` + # @return [String] + attr_accessor :entry_subagent_id + # The agent's location. # Corresponds to the JSON property `location` # @return [String] @@ -20211,6 +20326,7 @@ def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @disposition_code = args[:disposition_code] if args.key?(:disposition_code) @entry_subagent_display_name = args[:entry_subagent_display_name] if args.key?(:entry_subagent_display_name) + @entry_subagent_id = args[:entry_subagent_id] if args.key?(:entry_subagent_id) @location = args[:location] if args.key?(:location) @team = args[:team] if args.key?(:team) @teams = args[:teams] if args.key?(:teams) @@ -20816,7 +20932,7 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata # @return [String] attr_accessor :create_time - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. # Corresponds to the JSON property `diagnosticReport` # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainDiagnosticReport] attr_accessor :diagnostic_report @@ -20887,6 +21003,28 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest include Google::Apis::Core::Hashable + # ces agent display name (e.g., "Steering", "Billing"). + # Corresponds to the JSON property `agentDisplayName` + # @return [String] + attr_accessor :agent_display_name + + # ces agent id to diagnose. + # Corresponds to the JSON property `agentId` + # @return [String] + attr_accessor :agent_id + + # Required. The CES App ID. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # Optional. Optional but highly recommended. ces app version. If provided, + # specific version of agent instruction will be retrieved. If empty or set to '-' + # , will use the latest draft version of instruction. + # Corresponds to the JSON property `appVersion` + # @return [String] + attr_accessor :app_version + # Optional. Deprecated: If true, the request will be validated and a simulation # of the analysis will be performed without actually executing the task. This # field is unused. Use validate_only instead. @@ -20909,7 +21047,14 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest attr_accessor :full_report alias_method :full_report?, :full_report - # Optional. Specific instructions for the agent. + # Optional. A unique identifier used to group multiple diagnostic requests + # triggered under the same run batch or cron job. + # Corresponds to the JSON property `groupId` + # @return [String] + attr_accessor :group_id + + # Optional. Deprecated: Specific instructions for the agent. Use app_id and + # subagent fields instead. # Corresponds to the JSON property `instructions` # @return [String] attr_accessor :instructions @@ -20962,9 +21107,14 @@ def initialize(**args) # Update properties of this object def update!(**args) + @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name) + @agent_id = args[:agent_id] if args.key?(:agent_id) + @app_id = args[:app_id] if args.key?(:app_id) + @app_version = args[:app_version] if args.key?(:app_version) @dry_run = args[:dry_run] if args.key?(:dry_run) @filter = args[:filter] if args.key?(:filter) @full_report = args[:full_report] if args.key?(:full_report) + @group_id = args[:group_id] if args.key?(:group_id) @instructions = args[:instructions] if args.key?(:instructions) @max_steps = args[:max_steps] if args.key?(:max_steps) @metric_type = args[:metric_type] if args.key?(:metric_type) @@ -21020,7 +21170,7 @@ def update!(**args) end end - # A diagnostic report containing aggregate metrics and intent breakdowns. + # A diagnostic report containing loss patterns and problematic slice stats. class GoogleCloudContactcenterinsightsV1mainDiagnosticReport include Google::Apis::Core::Hashable diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb index ee39434b27c..cb3930ad839 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContactcenterinsightsV1 # Version of the google-apis-contactcenterinsights_v1 gem - GEM_VERSION = "0.87.0" + GEM_VERSION = "0.88.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260510" + REVISION = "20260521" end end end diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb index 1d94cc18452..a343c01675e 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb @@ -5164,6 +5164,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :disposition_code, as: 'dispositionCode' property :entry_subagent_display_name, as: 'entrySubagentDisplayName' + property :entry_subagent_id, as: 'entrySubagentId' property :location, as: 'location' property :team, as: 'team' collection :teams, as: 'teams' @@ -5442,9 +5443,14 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :agent_display_name, as: 'agentDisplayName' + property :agent_id, as: 'agentId' + property :app_id, as: 'appId' + property :app_version, as: 'appVersion' property :dry_run, as: 'dryRun' property :filter, as: 'filter' property :full_report, as: 'fullReport' + property :group_id, as: 'groupId' property :instructions, as: 'instructions' property :max_steps, as: 'maxSteps' property :metric_type, as: 'metricType' @@ -5471,9 +5477,14 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1Diagnostic # @private class Representation < Google::Apis::Core::JsonRepresentation + property :agent_display_name, as: 'agentDisplayName' + property :agent_id, as: 'agentId' property :analysis_summary, as: 'analysisSummary' + property :app_id, as: 'appId' + property :app_version, as: 'appVersion' property :conversation_filter, as: 'conversationFilter' property :create_time, as: 'createTime' + property :group_create_time, as: 'groupCreateTime' property :name, as: 'name' property :report, as: 'report', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DiagnosticReport, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DiagnosticReport::Representation @@ -7909,6 +7920,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :disposition_code, as: 'dispositionCode' property :entry_subagent_display_name, as: 'entrySubagentDisplayName' + property :entry_subagent_id, as: 'entrySubagentId' property :location, as: 'location' property :team, as: 'team' collection :teams, as: 'teams' @@ -8117,9 +8129,14 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :agent_display_name, as: 'agentDisplayName' + property :agent_id, as: 'agentId' + property :app_id, as: 'appId' + property :app_version, as: 'appVersion' property :dry_run, as: 'dryRun' property :filter, as: 'filter' property :full_report, as: 'fullReport' + property :group_id, as: 'groupId' property :instructions, as: 'instructions' property :max_steps, as: 'maxSteps' property :metric_type, as: 'metricType' @@ -9942,6 +9959,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :disposition_code, as: 'dispositionCode' property :entry_subagent_display_name, as: 'entrySubagentDisplayName' + property :entry_subagent_id, as: 'entrySubagentId' property :location, as: 'location' property :team, as: 'team' collection :teams, as: 'teams' @@ -10150,9 +10168,14 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :agent_display_name, as: 'agentDisplayName' + property :agent_id, as: 'agentId' + property :app_id, as: 'appId' + property :app_version, as: 'appVersion' property :dry_run, as: 'dryRun' property :filter, as: 'filter' property :full_report, as: 'fullReport' + property :group_id, as: 'groupId' property :instructions, as: 'instructions' property :max_steps, as: 'maxSteps' property :metric_type, as: 'metricType' diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb index 209850bacfe..4fd276d642d 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb @@ -5072,6 +5072,10 @@ def get_project_location_diagnostic(name, fields: nil, quota_user: nil, options: # Lists diagnostics. # @param [String] parent # Required. The parent resource of the diagnostics. + # @param [String] app_id + # Optional. The CES App ID to filter diagnostics by. + # @param [String] app_version + # Optional. The CES App version to filter diagnostics by. # @param [String] filter # Optional. A filter to apply to the list (e.g. `create_time > "2023-01-01T00:00: # 00Z"`). @@ -5099,11 +5103,13 @@ def get_project_location_diagnostic(name, fields: nil, quota_user: nil, options: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_diagnostics(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_diagnostics(parent, app_id: nil, app_version: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/diagnostics', options) command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDiagnosticsResponse::Representation command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDiagnosticsResponse command.params['parent'] = parent unless parent.nil? + command.query['appId'] = app_id unless app_id.nil? + command.query['appVersion'] = app_version unless app_version.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil?