google-apis-contactcenterinsights_v1 0.4.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +32 -0
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +6 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +39 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4757907958cd3418ce3f7ba5bd28d68262837da5c1b705269fd53e503e98f0f4
|
4
|
+
data.tar.gz: 55d534b21136e3614e0f757b99d61083a449eb90f83f27c11c4d9dbaaa1b8ff6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af64b9baed1b4865b67a3783d1863f6c59a7967e5a74167e684249964157371e16b540abc3de6ea6661c70ae316134c47b1890219d164b333e78856eb49494b1
|
7
|
+
data.tar.gz: 8b2d7e7b4d023ed4eb50c4a9e8668f6bd53f1cd8eca370cf4f1f21f7fa8554ab3392ef49251cf95251739869a8735f4df6a6352ee16298b64ad2920b66d0f633
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-contactcenterinsights_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-12-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211203
|
6
|
+
|
7
|
+
### v0.7.0 (2021-11-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.6.0 (2021-11-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211029
|
14
|
+
|
15
|
+
### v0.5.0 (2021-10-20)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.4.0 (2021-10-05)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20211002
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Contactcenterinsights service in particular.)
|
67
67
|
|
@@ -307,6 +307,13 @@ module Google
|
|
307
307
|
# @return [Hash<String,Fixnum>]
|
308
308
|
attr_accessor :issue_matches
|
309
309
|
|
310
|
+
# A map associating each issue resource name with its respective number of
|
311
|
+
# matches in the set of conversations. Key has the format: `projects//locations//
|
312
|
+
# issueModels//issues/`
|
313
|
+
# Corresponds to the JSON property `issueMatchesStats`
|
314
|
+
# @return [Hash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats>]
|
315
|
+
attr_accessor :issue_matches_stats
|
316
|
+
|
310
317
|
# A map associating each smart highlighter display name with its respective
|
311
318
|
# number of matches in the set of conversations.
|
312
319
|
# Corresponds to the JSON property `smartHighlighterMatches`
|
@@ -325,6 +332,7 @@ module Google
|
|
325
332
|
@conversation_count_time_series = args[:conversation_count_time_series] if args.key?(:conversation_count_time_series)
|
326
333
|
@custom_highlighter_matches = args[:custom_highlighter_matches] if args.key?(:custom_highlighter_matches)
|
327
334
|
@issue_matches = args[:issue_matches] if args.key?(:issue_matches)
|
335
|
+
@issue_matches_stats = args[:issue_matches_stats] if args.key?(:issue_matches_stats)
|
328
336
|
@smart_highlighter_matches = args[:smart_highlighter_matches] if args.key?(:smart_highlighter_matches)
|
329
337
|
end
|
330
338
|
end
|
@@ -1302,6 +1310,11 @@ module Google
|
|
1302
1310
|
# @return [String]
|
1303
1311
|
attr_accessor :parent
|
1304
1312
|
|
1313
|
+
# Options for what to do if the destination table already exists.
|
1314
|
+
# Corresponds to the JSON property `writeDisposition`
|
1315
|
+
# @return [String]
|
1316
|
+
attr_accessor :write_disposition
|
1317
|
+
|
1305
1318
|
def initialize(**args)
|
1306
1319
|
update!(**args)
|
1307
1320
|
end
|
@@ -1312,6 +1325,7 @@ module Google
|
|
1312
1325
|
@filter = args[:filter] if args.key?(:filter)
|
1313
1326
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
1314
1327
|
@parent = args[:parent] if args.key?(:parent)
|
1328
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
1315
1329
|
end
|
1316
1330
|
end
|
1317
1331
|
|
@@ -1715,6 +1729,11 @@ module Google
|
|
1715
1729
|
class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
|
1716
1730
|
include Google::Apis::Core::Hashable
|
1717
1731
|
|
1732
|
+
# Display name of the issue.
|
1733
|
+
# Corresponds to the JSON property `displayName`
|
1734
|
+
# @return [String]
|
1735
|
+
attr_accessor :display_name
|
1736
|
+
|
1718
1737
|
# Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
|
1719
1738
|
# issue_model`/issues/`issue`
|
1720
1739
|
# Corresponds to the JSON property `issue`
|
@@ -1732,6 +1751,7 @@ module Google
|
|
1732
1751
|
|
1733
1752
|
# Update properties of this object
|
1734
1753
|
def update!(**args)
|
1754
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1735
1755
|
@issue = args[:issue] if args.key?(:issue)
|
1736
1756
|
@labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
|
1737
1757
|
end
|
@@ -2683,6 +2703,11 @@ module Google
|
|
2683
2703
|
# @return [String]
|
2684
2704
|
attr_accessor :parent
|
2685
2705
|
|
2706
|
+
# Options for what to do if the destination table already exists.
|
2707
|
+
# Corresponds to the JSON property `writeDisposition`
|
2708
|
+
# @return [String]
|
2709
|
+
attr_accessor :write_disposition
|
2710
|
+
|
2686
2711
|
def initialize(**args)
|
2687
2712
|
update!(**args)
|
2688
2713
|
end
|
@@ -2693,6 +2718,7 @@ module Google
|
|
2693
2718
|
@filter = args[:filter] if args.key?(:filter)
|
2694
2719
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
2695
2720
|
@parent = args[:parent] if args.key?(:parent)
|
2721
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2696
2722
|
end
|
2697
2723
|
end
|
2698
2724
|
|
@@ -2871,6 +2897,11 @@ module Google
|
|
2871
2897
|
class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
|
2872
2898
|
include Google::Apis::Core::Hashable
|
2873
2899
|
|
2900
|
+
# Display name of the issue.
|
2901
|
+
# Corresponds to the JSON property `displayName`
|
2902
|
+
# @return [String]
|
2903
|
+
attr_accessor :display_name
|
2904
|
+
|
2874
2905
|
# Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
|
2875
2906
|
# issue_model`/issues/`issue`
|
2876
2907
|
# Corresponds to the JSON property `issue`
|
@@ -2888,6 +2919,7 @@ module Google
|
|
2888
2919
|
|
2889
2920
|
# Update properties of this object
|
2890
2921
|
def update!(**args)
|
2922
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2891
2923
|
@issue = args[:issue] if args.key?(:issue)
|
2892
2924
|
@labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
|
2893
2925
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContactcenterinsightsV1
|
18
18
|
# Version of the google-apis-contactcenterinsights_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -671,6 +671,8 @@ module Google
|
|
671
671
|
|
672
672
|
hash :custom_highlighter_matches, as: 'customHighlighterMatches'
|
673
673
|
hash :issue_matches, as: 'issueMatches'
|
674
|
+
hash :issue_matches_stats, as: 'issueMatchesStats', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats::Representation
|
675
|
+
|
674
676
|
hash :smart_highlighter_matches, as: 'smartHighlighterMatches'
|
675
677
|
end
|
676
678
|
end
|
@@ -969,6 +971,7 @@ module Google
|
|
969
971
|
property :filter, as: 'filter'
|
970
972
|
property :kms_key, as: 'kmsKey'
|
971
973
|
property :parent, as: 'parent'
|
974
|
+
property :write_disposition, as: 'writeDisposition'
|
972
975
|
end
|
973
976
|
end
|
974
977
|
|
@@ -1090,6 +1093,7 @@ module Google
|
|
1090
1093
|
class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
|
1091
1094
|
# @private
|
1092
1095
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
|
+
property :display_name, as: 'displayName'
|
1093
1097
|
property :issue, as: 'issue'
|
1094
1098
|
property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
|
1095
1099
|
end
|
@@ -1390,6 +1394,7 @@ module Google
|
|
1390
1394
|
property :filter, as: 'filter'
|
1391
1395
|
property :kms_key, as: 'kmsKey'
|
1392
1396
|
property :parent, as: 'parent'
|
1397
|
+
property :write_disposition, as: 'writeDisposition'
|
1393
1398
|
end
|
1394
1399
|
end
|
1395
1400
|
|
@@ -1445,6 +1450,7 @@ module Google
|
|
1445
1450
|
class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
|
1446
1451
|
# @private
|
1447
1452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1453
|
+
property :display_name, as: 'displayName'
|
1448
1454
|
property :issue, as: 'issue'
|
1449
1455
|
property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
|
1450
1456
|
end
|
@@ -157,8 +157,8 @@ module Google
|
|
157
157
|
# @param [String] conversation_id
|
158
158
|
# A unique ID for the new conversation. This ID will become the final component
|
159
159
|
# of the conversation's resource name. If no ID is specified, a server-generated
|
160
|
-
# ID will be used. This value should be 4-
|
161
|
-
# regular expression
|
160
|
+
# ID will be used. This value should be 4-64 characters and must match the
|
161
|
+
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
162
162
|
# @param [String] fields
|
163
163
|
# Selector specifying which fields to include in a partial response.
|
164
164
|
# @param [String] quota_user
|
@@ -1121,6 +1121,43 @@ module Google
|
|
1121
1121
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1122
1122
|
execute_or_queue_command(command, &block)
|
1123
1123
|
end
|
1124
|
+
|
1125
|
+
# Updates a phrase matcher.
|
1126
|
+
# @param [String] name
|
1127
|
+
# The resource name of the phrase matcher. Format: projects/`project`/locations/`
|
1128
|
+
# location`/phraseMatchers/`phrase_matcher`
|
1129
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
1130
|
+
# @param [String] update_mask
|
1131
|
+
# The list of fields to be updated.
|
1132
|
+
# @param [String] fields
|
1133
|
+
# Selector specifying which fields to include in a partial response.
|
1134
|
+
# @param [String] quota_user
|
1135
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1136
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1137
|
+
# @param [Google::Apis::RequestOptions] options
|
1138
|
+
# Request-specific options
|
1139
|
+
#
|
1140
|
+
# @yield [result, err] Result & error if block supplied
|
1141
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] parsed result object
|
1142
|
+
# @yieldparam err [StandardError] error object if request failed
|
1143
|
+
#
|
1144
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher]
|
1145
|
+
#
|
1146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1149
|
+
def patch_project_location_phrase_matcher(name, google_cloud_contactcenterinsights_v1_phrase_matcher_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1150
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1151
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
1152
|
+
command.request_object = google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
1153
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
1154
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher
|
1155
|
+
command.params['name'] = name unless name.nil?
|
1156
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1157
|
+
command.query['fields'] = fields unless fields.nil?
|
1158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1159
|
+
execute_or_queue_command(command, &block)
|
1160
|
+
end
|
1124
1161
|
|
1125
1162
|
protected
|
1126
1163
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-contactcenterinsights_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.8.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|