google-cloud-contact_center_insights-v1 0.4.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,9 +57,13 @@ module Google
57
57
  # @return [::Google::Protobuf::Map{::String => ::Integer}]
58
58
  # A map associating each issue resource name with its respective number of
59
59
  # matches in the set of conversations. Key has the format:
60
- # `projects/<Project ID>/locations/<Location ID>/issueModels/<Issue Model
61
- # ID>/issues/<Issue ID>`
60
+ # `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
62
61
  # Deprecated, use `issue_matches_stats` field instead.
62
+ # @!attribute [rw] issue_matches_stats
63
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}]
64
+ # A map associating each issue resource name with its respective number of
65
+ # matches in the set of conversations. Key has the format:
66
+ # `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
63
67
  # @!attribute [rw] conversation_count_time_series
64
68
  # @return [::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries]
65
69
  # A time series representing the count of conversations created over time
@@ -120,6 +124,15 @@ module Google
120
124
  include ::Google::Protobuf::MessageExts
121
125
  extend ::Google::Protobuf::MessageExts::ClassMethods
122
126
  end
127
+
128
+ # @!attribute [rw] key
129
+ # @return [::String]
130
+ # @!attribute [rw] value
131
+ # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats]
132
+ class IssueMatchesStatsEntry
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
123
136
  end
124
137
 
125
138
  # Metadata for a create analysis operation.
@@ -150,8 +163,8 @@ module Google
150
163
  # component of the conversation's resource name. If no ID is specified, a
151
164
  # server-generated ID will be used.
152
165
  #
153
- # This value should be 4-32 characters and must match the regular
154
- # expression /^[a-z0-9-]\\{4,32}$/. Valid characters are /[a-z][0-9]-/
166
+ # This value should be 4-64 characters and must match the regular
167
+ # expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
155
168
  class CreateConversationRequest
156
169
  include ::Google::Protobuf::MessageExts
157
170
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -319,6 +332,9 @@ module Google
319
332
  # A fully qualified KMS key name for BigQuery tables protected by CMEK.
320
333
  # Format:
321
334
  # projects/\\{project}/locations/\\{location}/keyRings/\\{keyring}/cryptoKeys/\\{key}/cryptoKeyVersions/\\{version}
335
+ # @!attribute [rw] write_disposition
336
+ # @return [::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::WriteDisposition]
337
+ # Options for what to do if the destination table already exists.
322
338
  class ExportInsightsDataRequest
323
339
  include ::Google::Protobuf::MessageExts
324
340
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -343,6 +359,19 @@ module Google
343
359
  include ::Google::Protobuf::MessageExts
344
360
  extend ::Google::Protobuf::MessageExts::ClassMethods
345
361
  end
362
+
363
+ # Specifies the action that occurs if the destination table already exists.
364
+ module WriteDisposition
365
+ # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
366
+ WRITE_DISPOSITION_UNSPECIFIED = 0
367
+
368
+ # If the table already exists, BigQuery will overwrite the table data and
369
+ # use the schema from the load.
370
+ WRITE_TRUNCATE = 1
371
+
372
+ # If the table already exists, BigQuery will append data to the table.
373
+ WRITE_APPEND = 2
374
+ end
346
375
  end
347
376
 
348
377
  # Metadata for an export insights operation.
@@ -648,6 +677,18 @@ module Google
648
677
  extend ::Google::Protobuf::MessageExts::ClassMethods
649
678
  end
650
679
 
680
+ # The request to update a phrase matcher.
681
+ # @!attribute [rw] phrase_matcher
682
+ # @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher]
683
+ # Required. The new values for the phrase matcher.
684
+ # @!attribute [rw] update_mask
685
+ # @return [::Google::Protobuf::FieldMask]
686
+ # The list of fields to be updated.
687
+ class UpdatePhraseMatcherRequest
688
+ include ::Google::Protobuf::MessageExts
689
+ extend ::Google::Protobuf::MessageExts::ClassMethods
690
+ end
691
+
651
692
  # The request to get project-level settings.
652
693
  # @!attribute [rw] name
653
694
  # @return [::String]
@@ -669,17 +710,97 @@ module Google
669
710
  extend ::Google::Protobuf::MessageExts::ClassMethods
670
711
  end
671
712
 
672
- # Represents the options for views of a conversation.
713
+ # The request to create a view.
714
+ # @!attribute [rw] parent
715
+ # @return [::String]
716
+ # Required. The parent resource of the view. Required. The location to create
717
+ # a view for.
718
+ # Format: `projects/<Project ID>/locations/<Location ID>` or
719
+ # `projects/<Project Number>/locations/<Location ID>`
720
+ # @!attribute [rw] view
721
+ # @return [::Google::Cloud::ContactCenterInsights::V1::View]
722
+ # Required. The view resource to create.
723
+ class CreateViewRequest
724
+ include ::Google::Protobuf::MessageExts
725
+ extend ::Google::Protobuf::MessageExts::ClassMethods
726
+ end
727
+
728
+ # The request to get a view.
729
+ # @!attribute [rw] name
730
+ # @return [::String]
731
+ # Required. The name of the view to get.
732
+ class GetViewRequest
733
+ include ::Google::Protobuf::MessageExts
734
+ extend ::Google::Protobuf::MessageExts::ClassMethods
735
+ end
736
+
737
+ # The request to list views.
738
+ # @!attribute [rw] parent
739
+ # @return [::String]
740
+ # Required. The parent resource of the views.
741
+ # @!attribute [rw] page_size
742
+ # @return [::Integer]
743
+ # The maximum number of views to return in the response. If this
744
+ # value is zero, the service will select a default size. A call may return
745
+ # fewer objects than requested. A non-empty `next_page_token` in the response
746
+ # indicates that more data is available.
747
+ # @!attribute [rw] page_token
748
+ # @return [::String]
749
+ # The value returned by the last `ListViewsResponse`; indicates
750
+ # that this is a continuation of a prior `ListViews` call and
751
+ # the system should return the next page of data.
752
+ class ListViewsRequest
753
+ include ::Google::Protobuf::MessageExts
754
+ extend ::Google::Protobuf::MessageExts::ClassMethods
755
+ end
756
+
757
+ # The response of listing views.
758
+ # @!attribute [rw] views
759
+ # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::View>]
760
+ # The views that match the request.
761
+ # @!attribute [rw] next_page_token
762
+ # @return [::String]
763
+ # A token, which can be sent as `page_token` to retrieve the next page.
764
+ # If this field is omitted, there are no subsequent pages.
765
+ class ListViewsResponse
766
+ include ::Google::Protobuf::MessageExts
767
+ extend ::Google::Protobuf::MessageExts::ClassMethods
768
+ end
769
+
770
+ # The request to update a view.
771
+ # @!attribute [rw] view
772
+ # @return [::Google::Cloud::ContactCenterInsights::V1::View]
773
+ # Required. The new view.
774
+ # @!attribute [rw] update_mask
775
+ # @return [::Google::Protobuf::FieldMask]
776
+ # The list of fields to be updated.
777
+ class UpdateViewRequest
778
+ include ::Google::Protobuf::MessageExts
779
+ extend ::Google::Protobuf::MessageExts::ClassMethods
780
+ end
781
+
782
+ # The request to delete a view.
783
+ # @!attribute [rw] name
784
+ # @return [::String]
785
+ # Required. The name of the view to delete.
786
+ class DeleteViewRequest
787
+ include ::Google::Protobuf::MessageExts
788
+ extend ::Google::Protobuf::MessageExts::ClassMethods
789
+ end
790
+
791
+ # Represents the options for viewing a conversation.
673
792
  module ConversationView
674
- # Not specified. Defaults to FULL on GetConversationRequest and BASIC for
675
- # ListConversationsRequest.
793
+ # The conversation view is not specified.
794
+ #
795
+ # * Defaults to `FULL` in `GetConversationRequest`.
796
+ # * Defaults to `BASIC` in `ListConversationsRequest`.
676
797
  CONVERSATION_VIEW_UNSPECIFIED = 0
677
798
 
678
- # Transcript field is not populated in the response.
679
- BASIC = 1
680
-
681
- # All fields are populated.
799
+ # Populates all fields in the conversation.
682
800
  FULL = 2
801
+
802
+ # Populates all fields in the conversation except the transcript.
803
+ BASIC = 1
683
804
  end
684
805
  end
685
806
  end
@@ -85,6 +85,9 @@ module Google
85
85
  # Output only. All the matched Dialogflow intents in the call. The key corresponds to a
86
86
  # Dialogflow intent, format:
87
87
  # projects/\\{project}/agent/\\{agent}/intents/\\{intent}
88
+ # @!attribute [rw] obfuscated_user_id
89
+ # @return [::String]
90
+ # Obfuscated user ID which the customer sent to us.
88
91
  class Conversation
89
92
  include ::Google::Protobuf::MessageExts
90
93
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -341,6 +344,7 @@ module Google
341
344
  # @!attribute [rw] issue_model
342
345
  # @return [::String]
343
346
  # Issue model that generates the result.
347
+ # Format: projects/\\{project}/locations/\\{location}/issueModels/\\{issue_model}
344
348
  # @!attribute [rw] issues
345
349
  # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::IssueAssignment>]
346
350
  # All the matched issues.
@@ -771,6 +775,9 @@ module Google
771
775
  # @!attribute [rw] labeled_conversations_count
772
776
  # @return [::Integer]
773
777
  # Number of conversations attached to the issue at this point in time.
778
+ # @!attribute [rw] display_name
779
+ # @return [::String]
780
+ # Display name of the issue.
774
781
  class IssueStats
775
782
  include ::Google::Protobuf::MessageExts
776
783
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1243,6 +1250,29 @@ module Google
1243
1250
  ANY_AGENT = 4
1244
1251
  end
1245
1252
  end
1253
+
1254
+ # The View resource.
1255
+ # @!attribute [rw] name
1256
+ # @return [::String]
1257
+ # Immutable. The resource name of the view.
1258
+ # Format:
1259
+ # projects/\\{project}/locations/\\{location}/views/\\{view}
1260
+ # @!attribute [rw] display_name
1261
+ # @return [::String]
1262
+ # The human-readable display name of the view.
1263
+ # @!attribute [r] create_time
1264
+ # @return [::Google::Protobuf::Timestamp]
1265
+ # Output only. The time at which this view was created.
1266
+ # @!attribute [r] update_time
1267
+ # @return [::Google::Protobuf::Timestamp]
1268
+ # Output only. The most recent time at which the view was updated.
1269
+ # @!attribute [rw] value
1270
+ # @return [::String]
1271
+ # String with specific view properties.
1272
+ class View
1273
+ include ::Google::Protobuf::MessageExts
1274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1275
+ end
1246
1276
  end
1247
1277
  end
1248
1278
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-contact_center_insights-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.7.1
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-18 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.2.17
216
+ rubygems_version: 3.3.5
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: API Client library for the Contact Center AI Insights V1 API