google-apis-contactcenterinsights_v1 0.1.0 → 0.5.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: 530c5c6e70911a40a88138f332f7368a48d2179b297cd796532e379b5ca64800
4
- data.tar.gz: 2f74f1501f7b9a3433641b439322047f217c0c2f2327804f489d14e74282b798
3
+ metadata.gz: 9e71ed80b945bcfd1c9086569042744d795f9c3dce5d0e03c0246e8028f0cf36
4
+ data.tar.gz: d14cb6cafdacdceb099377d94f07dd485376246fe5ff9188c737aea60ea76253
5
5
  SHA512:
6
- metadata.gz: b8ea5334c3f01eccad11c5512f2434045824725ed3f9e691ef7b7ef523414fdaa623f67e004afc10dd02166ae93d69ce58158f9c015f2ff6998be03aad314861
7
- data.tar.gz: 33237749b045a83bd2fb3870052ef4363677bb7495e78843bef40f95fe1a30303d8e78dc816753055168f4356f945dedce15d1a7a633dd44b6e0b74642a9b793
6
+ metadata.gz: 35be517e30d5d30e23e99f524c88e855e8d3496262b4366277a5cb12963aebadf5858a3a3d3039e276b7675ec7955882864a2e1417a95aa0c8d975910b957a33
7
+ data.tar.gz: 2101d7118e93b823da3279a9f881e6e37747604f91be18d4a423d8aaac1aeee7b1e8e82cb6a1c11d6b39d43b4883e489fefef7652bc058687b5611e593337169
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.5.0 (2021-10-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.4.0 (2021-10-05)
8
+
9
+ * Regenerated from discovery document revision 20211002
10
+
11
+ ### v0.3.0 (2021-09-29)
12
+
13
+ * Regenerated from discovery document revision 20210927
14
+
15
+ ### v0.2.0 (2021-09-21)
16
+
17
+ * Regenerated from discovery document revision 20210918
18
+
3
19
  ### v0.1.0 (2021-09-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20210902
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
 
@@ -302,7 +302,7 @@ module Google
302
302
 
303
303
  # A map associating each issue resource name with its respective number of
304
304
  # matches in the set of conversations. Key has the format: `projects//locations//
305
- # issueModels//issues/`
305
+ # issueModels//issues/` Deprecated, use `issue_matches_stats` field instead.
306
306
  # Corresponds to the JSON property `issueMatches`
307
307
  # @return [Hash<String,Fixnum>]
308
308
  attr_accessor :issue_matches
@@ -517,7 +517,7 @@ module Google
517
517
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
518
518
  attr_accessor :latest_analysis
519
519
 
520
- # Immutable. The conversation medium.
520
+ # Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
521
521
  # Corresponds to the JSON property `medium`
522
522
  # @return [String]
523
523
  attr_accessor :medium
@@ -679,6 +679,11 @@ module Google
679
679
  # @return [String]
680
680
  attr_accessor :dialogflow_participant_name
681
681
 
682
+ # Obfuscated user ID from Dialogflow.
683
+ # Corresponds to the JSON property `obfuscatedExternalUserId`
684
+ # @return [String]
685
+ attr_accessor :obfuscated_external_user_id
686
+
682
687
  # The role of the participant.
683
688
  # Corresponds to the JSON property `role`
684
689
  # @return [String]
@@ -697,6 +702,7 @@ module Google
697
702
  def update!(**args)
698
703
  @dialogflow_participant = args[:dialogflow_participant] if args.key?(:dialogflow_participant)
699
704
  @dialogflow_participant_name = args[:dialogflow_participant_name] if args.key?(:dialogflow_participant_name)
705
+ @obfuscated_external_user_id = args[:obfuscated_external_user_id] if args.key?(:obfuscated_external_user_id)
700
706
  @role = args[:role] if args.key?(:role)
701
707
  @user_id = args[:user_id] if args.key?(:user_id)
702
708
  end
@@ -739,17 +745,32 @@ module Google
739
745
  # @return [Float]
740
746
  attr_accessor :confidence
741
747
 
748
+ # Metadata from Dialogflow relating to the current transcript segment.
749
+ # Corresponds to the JSON property `dialogflowSegmentMetadata`
750
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata]
751
+ attr_accessor :dialogflow_segment_metadata
752
+
742
753
  # The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/
743
754
  # bcp/bcp47.txt) language tag. Example: "en-US".
744
755
  # Corresponds to the JSON property `languageCode`
745
756
  # @return [String]
746
757
  attr_accessor :language_code
747
758
 
759
+ # The time that the message occurred, if provided.
760
+ # Corresponds to the JSON property `messageTime`
761
+ # @return [String]
762
+ attr_accessor :message_time
763
+
748
764
  # The call participant speaking for a given utterance.
749
765
  # Corresponds to the JSON property `segmentParticipant`
750
766
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant]
751
767
  attr_accessor :segment_participant
752
768
 
769
+ # The data for a sentiment annotation.
770
+ # Corresponds to the JSON property `sentiment`
771
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData]
772
+ attr_accessor :sentiment
773
+
753
774
  # The text of this segment.
754
775
  # Corresponds to the JSON property `text`
755
776
  # @return [String]
@@ -768,13 +789,37 @@ module Google
768
789
  def update!(**args)
769
790
  @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
770
791
  @confidence = args[:confidence] if args.key?(:confidence)
792
+ @dialogflow_segment_metadata = args[:dialogflow_segment_metadata] if args.key?(:dialogflow_segment_metadata)
771
793
  @language_code = args[:language_code] if args.key?(:language_code)
794
+ @message_time = args[:message_time] if args.key?(:message_time)
772
795
  @segment_participant = args[:segment_participant] if args.key?(:segment_participant)
796
+ @sentiment = args[:sentiment] if args.key?(:sentiment)
773
797
  @text = args[:text] if args.key?(:text)
774
798
  @words = args[:words] if args.key?(:words)
775
799
  end
776
800
  end
777
801
 
802
+ # Metadata from Dialogflow relating to the current transcript segment.
803
+ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
804
+ include Google::Apis::Core::Hashable
805
+
806
+ # Whether the transcript segment was covered under the configured smart reply
807
+ # allowlist in Agent Assist.
808
+ # Corresponds to the JSON property `smartReplyAllowlistCovered`
809
+ # @return [Boolean]
810
+ attr_accessor :smart_reply_allowlist_covered
811
+ alias_method :smart_reply_allowlist_covered?, :smart_reply_allowlist_covered
812
+
813
+ def initialize(**args)
814
+ update!(**args)
815
+ end
816
+
817
+ # Update properties of this object
818
+ def update!(**args)
819
+ @smart_reply_allowlist_covered = args[:smart_reply_allowlist_covered] if args.key?(:smart_reply_allowlist_covered)
820
+ end
821
+ end
822
+
778
823
  # Word-level info for words in a transcript.
779
824
  class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
780
825
  include Google::Apis::Core::Hashable
@@ -1604,7 +1649,15 @@ module Google
1604
1649
  class GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
1605
1650
  include Google::Apis::Core::Hashable
1606
1651
 
1607
- # Required.
1652
+ # A filter to reduce the conversations used for training the model to a specific
1653
+ # subset.
1654
+ # Corresponds to the JSON property `filter`
1655
+ # @return [String]
1656
+ attr_accessor :filter
1657
+
1658
+ # Medium of conversations used in training data. This field is being deprecated.
1659
+ # To specify the medium to be used in training a new issue model, set the `
1660
+ # medium` field on `filter`.
1608
1661
  # Corresponds to the JSON property `medium`
1609
1662
  # @return [String]
1610
1663
  attr_accessor :medium
@@ -1620,6 +1673,7 @@ module Google
1620
1673
 
1621
1674
  # Update properties of this object
1622
1675
  def update!(**args)
1676
+ @filter = args[:filter] if args.key?(:filter)
1623
1677
  @medium = args[:medium] if args.key?(:medium)
1624
1678
  @training_conversations_count = args[:training_conversations_count] if args.key?(:training_conversations_count)
1625
1679
  end
@@ -1985,6 +2039,11 @@ module Google
1985
2039
  # @return [String]
1986
2040
  attr_accessor :type
1987
2041
 
2042
+ # Output only. The most recent time at which the phrase matcher was updated.
2043
+ # Corresponds to the JSON property `updateTime`
2044
+ # @return [String]
2045
+ attr_accessor :update_time
2046
+
1988
2047
  # The customized version tag to use for the phrase matcher. If not specified, it
1989
2048
  # will default to `revision_id`.
1990
2049
  # Corresponds to the JSON property `versionTag`
@@ -2006,6 +2065,7 @@ module Google
2006
2065
  @revision_id = args[:revision_id] if args.key?(:revision_id)
2007
2066
  @role_match = args[:role_match] if args.key?(:role_match)
2008
2067
  @type = args[:type] if args.key?(:type)
2068
+ @update_time = args[:update_time] if args.key?(:update_time)
2009
2069
  @version_tag = args[:version_tag] if args.key?(:version_tag)
2010
2070
  end
2011
2071
  end
@@ -2745,7 +2805,15 @@ module Google
2745
2805
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
2746
2806
  include Google::Apis::Core::Hashable
2747
2807
 
2748
- # Required.
2808
+ # A filter to reduce the conversations used for training the model to a specific
2809
+ # subset.
2810
+ # Corresponds to the JSON property `filter`
2811
+ # @return [String]
2812
+ attr_accessor :filter
2813
+
2814
+ # Medium of conversations used in training data. This field is being deprecated.
2815
+ # To specify the medium to be used in training a new issue model, set the `
2816
+ # medium` field on `filter`.
2749
2817
  # Corresponds to the JSON property `medium`
2750
2818
  # @return [String]
2751
2819
  attr_accessor :medium
@@ -2761,6 +2829,7 @@ module Google
2761
2829
 
2762
2830
  # Update properties of this object
2763
2831
  def update!(**args)
2832
+ @filter = args[:filter] if args.key?(:filter)
2764
2833
  @medium = args[:medium] if args.key?(:medium)
2765
2834
  @training_conversations_count = args[:training_conversations_count] if args.key?(:training_conversations_count)
2766
2835
  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.1.0"
19
+ GEM_VERSION = "0.5.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 = "20210902"
25
+ REVISION = "20211002"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -773,6 +779,7 @@ module Google
773
779
  class Representation < Google::Apis::Core::JsonRepresentation
774
780
  property :dialogflow_participant, as: 'dialogflowParticipant'
775
781
  property :dialogflow_participant_name, as: 'dialogflowParticipantName'
782
+ property :obfuscated_external_user_id, as: 'obfuscatedExternalUserId'
776
783
  property :role, as: 'role'
777
784
  property :user_id, as: 'userId'
778
785
  end
@@ -791,15 +798,27 @@ module Google
791
798
  class Representation < Google::Apis::Core::JsonRepresentation
792
799
  property :channel_tag, as: 'channelTag'
793
800
  property :confidence, as: 'confidence'
801
+ property :dialogflow_segment_metadata, as: 'dialogflowSegmentMetadata', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata::Representation
802
+
794
803
  property :language_code, as: 'languageCode'
804
+ property :message_time, as: 'messageTime'
795
805
  property :segment_participant, as: 'segmentParticipant', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant::Representation
796
806
 
807
+ property :sentiment, as: 'sentiment', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData::Representation
808
+
797
809
  property :text, as: 'text'
798
810
  collection :words, as: 'words', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo::Representation
799
811
 
800
812
  end
801
813
  end
802
814
 
815
+ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :smart_reply_allowlist_covered, as: 'smartReplyAllowlistCovered'
819
+ end
820
+ end
821
+
803
822
  class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
804
823
  # @private
805
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1052,6 +1071,7 @@ module Google
1052
1071
  class GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
1053
1072
  # @private
1054
1073
  class Representation < Google::Apis::Core::JsonRepresentation
1074
+ property :filter, as: 'filter'
1055
1075
  property :medium, as: 'medium'
1056
1076
  property :training_conversations_count, :numeric_string => true, as: 'trainingConversationsCount'
1057
1077
  end
@@ -1175,6 +1195,7 @@ module Google
1175
1195
  property :revision_id, as: 'revisionId'
1176
1196
  property :role_match, as: 'roleMatch'
1177
1197
  property :type, as: 'type'
1198
+ property :update_time, as: 'updateTime'
1178
1199
  property :version_tag, as: 'versionTag'
1179
1200
  end
1180
1201
  end
@@ -1405,6 +1426,7 @@ module Google
1405
1426
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
1406
1427
  # @private
1407
1428
  class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :filter, as: 'filter'
1408
1430
  property :medium, as: 'medium'
1409
1431
  property :training_conversations_count, :numeric_string => true, as: 'trainingConversationsCount'
1410
1432
  end
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.1.0
4
+ version: 0.5.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-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-27 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.1.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.5.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: