Skip to content

Commit

Permalink
feat: [google-cloud-contact-center-insights] A new resource pattern v…
Browse files Browse the repository at this point in the history
…alue `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 <vchudnov@google.com>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent 4999fd8 commit 8963da7
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.21.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.21.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ def _get_http_options():
"method": "get",
"uri": "/v1/{location=projects/*/locations/*}/conversations:calculateStats",
},
{
"method": "get",
"uri": "/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:calculateStats",
},
]
return http_options

Expand Down Expand Up @@ -3123,6 +3127,11 @@ def _get_http_options():
"uri": "/v1/{location=projects/*/locations/*}:queryMetrics",
"body": "*",
},
{
"method": "post",
"uri": "/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:queryMetrics",
"body": "*",
},
]
return http_options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ class AgentInfo(proto.Message):
disposition_code (str):
A user-provided string indicating the outcome
of the agent's segment of the call.
agent_type (google.cloud.contact_center_insights_v1.types.ConversationParticipant.Role):
The agent type, e.g. HUMAN_AGENT.
"""

agent_id: str = proto.Field(
Expand All @@ -291,6 +293,11 @@ class AgentInfo(proto.Message):
proto.STRING,
number=4,
)
agent_type: "ConversationParticipant.Role" = proto.Field(
proto.ENUM,
number=5,
enum="ConversationParticipant.Role",
)

customer_satisfaction_rating: int = proto.Field(
proto.INT32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-contact-center-insights",
"version": "1.21.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46721,6 +46721,7 @@ def test_create_conversation_rest_call_success(request_type):
"display_name": "display_name_value",
"team": "team_value",
"disposition_code": "disposition_code_value",
"agent_type": 1,
}
],
},
Expand Down Expand Up @@ -47307,6 +47308,7 @@ def test_update_conversation_rest_call_success(request_type):
"display_name": "display_name_value",
"team": "team_value",
"disposition_code": "disposition_code_value",
"agent_type": 1,
}
],
},
Expand Down

0 comments on commit 8963da7

Please sign in to comment.