google-apis-contactcenterinsights_v1 0.3.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56929c70fb72a2edd4dde805902e06246b6231b4b3ef2dfc898fc8e858a39190
4
- data.tar.gz: 20e85f2ab2446a241a00da205b9648e7d0e966e1ec384b903b5cc699a3f27202
3
+ metadata.gz: 8251ff007a98486e93a429039795133d13ed9b74777cb9d9703ceeec111e65bf
4
+ data.tar.gz: 69c78d2428d056407725d4f26017234fd1faab0f9be8f9279bca0878e4de4a5a
5
5
  SHA512:
6
- metadata.gz: 399b13681342e00f4251bc54a02da510cf2a2f4abc64ba5ea98470596142dddf3a10e73e0bfa7ace7b014e29e60541b5b0e62c5284a9a4b2e8b06f865c22c929
7
- data.tar.gz: eccfe102b4c48b5bf98fd4a29b15c8da0d6b7383a00a7ca9cf0a29f69f5ab1fab5c7ed40dfddb49c9bcfe4cc36ad109b1b0cbfeb83cc5c524e8b6f0ca06735b4
6
+ metadata.gz: 76ba08eb859f568bd2759fd17608e885fc69ce887493a21e9ed4dd430d52fdb9ab199e6e67065070045521c6f786d7fe172974f4d9afdf347ff40f7171a3445a
7
+ data.tar.gz: 9aa73034c05eb2801d44775403a6c22ae54082c980176d2dbf8de1f7c3f63b1d0a28afdb246eb65c66076a407aacafbdc5fde65f076b55d997525ec006baf8b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.7.0 (2021-11-10)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.6.0 (2021-11-02)
8
+
9
+ * Regenerated from discovery document revision 20211029
10
+
11
+ ### v0.5.0 (2021-10-20)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.4.0 (2021-10-05)
16
+
17
+ * Regenerated from discovery document revision 20211002
18
+
3
19
  ### v0.3.0 (2021-09-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210927
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
@@ -517,7 +525,7 @@ module Google
517
525
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
518
526
  attr_accessor :latest_analysis
519
527
 
520
- # Immutable. The conversation medium.
528
+ # Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
521
529
  # Corresponds to the JSON property `medium`
522
530
  # @return [String]
523
531
  attr_accessor :medium
@@ -1715,6 +1723,11 @@ module Google
1715
1723
  class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
1716
1724
  include Google::Apis::Core::Hashable
1717
1725
 
1726
+ # Display name of the issue.
1727
+ # Corresponds to the JSON property `displayName`
1728
+ # @return [String]
1729
+ attr_accessor :display_name
1730
+
1718
1731
  # Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
1719
1732
  # issue_model`/issues/`issue`
1720
1733
  # Corresponds to the JSON property `issue`
@@ -1732,6 +1745,7 @@ module Google
1732
1745
 
1733
1746
  # Update properties of this object
1734
1747
  def update!(**args)
1748
+ @display_name = args[:display_name] if args.key?(:display_name)
1735
1749
  @issue = args[:issue] if args.key?(:issue)
1736
1750
  @labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
1737
1751
  end
@@ -2871,6 +2885,11 @@ module Google
2871
2885
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
2872
2886
  include Google::Apis::Core::Hashable
2873
2887
 
2888
+ # Display name of the issue.
2889
+ # Corresponds to the JSON property `displayName`
2890
+ # @return [String]
2891
+ attr_accessor :display_name
2892
+
2874
2893
  # Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
2875
2894
  # issue_model`/issues/`issue`
2876
2895
  # Corresponds to the JSON property `issue`
@@ -2888,6 +2907,7 @@ module Google
2888
2907
 
2889
2908
  # Update properties of this object
2890
2909
  def update!(**args)
2910
+ @display_name = args[:display_name] if args.key?(:display_name)
2891
2911
  @issue = args[:issue] if args.key?(:issue)
2892
2912
  @labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
2893
2913
  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.3.0"
19
+ GEM_VERSION = "0.7.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 = "20210927"
25
+ REVISION = "20211105"
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
@@ -1090,6 +1092,7 @@ module Google
1090
1092
  class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
1091
1093
  # @private
1092
1094
  class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :display_name, as: 'displayName'
1093
1096
  property :issue, as: 'issue'
1094
1097
  property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
1095
1098
  end
@@ -1445,6 +1448,7 @@ module Google
1445
1448
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
1446
1449
  # @private
1447
1450
  class Representation < Google::Apis::Core::JsonRepresentation
1451
+ property :display_name, as: 'displayName'
1448
1452
  property :issue, as: 'issue'
1449
1453
  property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
1450
1454
  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-32 characters and must match the
161
- # regular expression /^[a-z0-9-]`4,32`$/. Valid characters are /a-z-/
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.3.0
4
+ version: 0.7.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-10-04 00:00:00.000000000 Z
11
+ date: 2021-11-15 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/master/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.3.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-contactcenterinsights_v1
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.7.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: