Skip to content

Commit 8963da7

Browse files
feat: [google-cloud-contact-center-insights] A new resource pattern value projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} added to the resource definition... (#13371)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: [google-cloud-contact-center-insights] A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}` added to the resource definition `contactcenterinsights.googleapis.com/Conversation` feat: A new field `agent_type` is added to message `.google.cloud.contactcenterinsights.v1.Conversation` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}` added to the resource definition `contactcenterinsights.googleapis.com/Analysis` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}` added to the resource definition `contactcenterinsights.googleapis.com/FeedbackLabel` END_COMMIT_OVERRIDE `contactcenterinsights.googleapis.com/Conversation` feat: A new field `agent_type` is added to message `.google.cloud.contactcenterinsights.v1.Conversation` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}` added to the resource definition `contactcenterinsights.googleapis.com/Analysis` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}` added to the resource definition `contactcenterinsights.googleapis.com/FeedbackLabel` PiperOrigin-RevId: 707203752 Source-Link: googleapis/googleapis@5546362 Source-Link: googleapis/googleapis-gen@f7186d1 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhY3QtY2VudGVyLWluc2lnaHRzLy5Pd2xCb3QueWFtbCIsImgiOiJmNzE4NmQxNGI0M2Q3ZmE5MDVjN2Y2NGI0YTI4ODZiNjk1NjY3ZjAzIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <[email protected]>
1 parent 4999fd8 commit 8963da7

File tree

6 files changed

+21
-3
lines changed

6 files changed

+21
-3
lines changed

packages/google-cloud-contact-center-insights/google/cloud/contact_center_insights/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-contact-center-insights/google/cloud/contact_center_insights_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-contact-center-insights/google/cloud/contact_center_insights_v1/services/contact_center_insights/transports/rest_base.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,10 @@ def _get_http_options():
400400
"method": "get",
401401
"uri": "/v1/{location=projects/*/locations/*}/conversations:calculateStats",
402402
},
403+
{
404+
"method": "get",
405+
"uri": "/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:calculateStats",
406+
},
403407
]
404408
return http_options
405409

@@ -3123,6 +3127,11 @@ def _get_http_options():
31233127
"uri": "/v1/{location=projects/*/locations/*}:queryMetrics",
31243128
"body": "*",
31253129
},
3130+
{
3131+
"method": "post",
3132+
"uri": "/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:queryMetrics",
3133+
"body": "*",
3134+
},
31263135
]
31273136
return http_options
31283137

packages/google-cloud-contact-center-insights/google/cloud/contact_center_insights_v1/types/resources.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ class AgentInfo(proto.Message):
273273
disposition_code (str):
274274
A user-provided string indicating the outcome
275275
of the agent's segment of the call.
276+
agent_type (google.cloud.contact_center_insights_v1.types.ConversationParticipant.Role):
277+
The agent type, e.g. HUMAN_AGENT.
276278
"""
277279

278280
agent_id: str = proto.Field(
@@ -291,6 +293,11 @@ class AgentInfo(proto.Message):
291293
proto.STRING,
292294
number=4,
293295
)
296+
agent_type: "ConversationParticipant.Role" = proto.Field(
297+
proto.ENUM,
298+
number=5,
299+
enum="ConversationParticipant.Role",
300+
)
294301

295302
customer_satisfaction_rating: int = proto.Field(
296303
proto.INT32,

packages/google-cloud-contact-center-insights/samples/generated_samples/snippet_metadata_google.cloud.contactcenterinsights.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-contact-center-insights",
11-
"version": "1.21.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-contact-center-insights/tests/unit/gapic/contact_center_insights_v1/test_contact_center_insights.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46721,6 +46721,7 @@ def test_create_conversation_rest_call_success(request_type):
4672146721
"display_name": "display_name_value",
4672246722
"team": "team_value",
4672346723
"disposition_code": "disposition_code_value",
46724+
"agent_type": 1,
4672446725
}
4672546726
],
4672646727
},
@@ -47307,6 +47308,7 @@ def test_update_conversation_rest_call_success(request_type):
4730747308
"display_name": "display_name_value",
4730847309
"team": "team_value",
4730947310
"disposition_code": "disposition_code_value",
47311+
"agent_type": 1,
4731047312
}
4731147313
],
4731247314
},

0 commit comments

Comments
 (0)