google-apis-contactcenterinsights_v1 0.2.0 → 0.6.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: 3934a371b79ee4d9001126148d1550fb84b29224e0542e100f0799491250a7a1
4
- data.tar.gz: afecf06c2c84d0fd56016c32cedd2268df970d26cc18dc9a063dcbc8e54b8c64
3
+ metadata.gz: cba1721c79a42ae9b4e35a0486050c8c256bc30998577333a078d8472c121567
4
+ data.tar.gz: 75103990ce0b99e6ac9b0a50549e1bbdd44a2b3d6921d45ccc180e9935153258
5
5
  SHA512:
6
- metadata.gz: fbdda3c6e4e356341afae7df899bee61e308a6e014acf54f4343e6bf26d0e142ca0638112e536b92f66c5e6f72e4a67cb376f2a445c3f4e03bef8a4b6fbc8c4e
7
- data.tar.gz: 9aea97c62501f7b8a9978d113b7c685a4fcd38cdafd38d4fc9b076988434da6165ed9481a67d7b8b34b0edbae7e637442c5410802ca87b9d095d5e91db47225e
6
+ metadata.gz: 5dc7201da1920b97523495be195ed4e04655e985b0ba9f98728827d664643bce1af7a722f50d513db41b6f4792c9d711165932f858c069c65016aa81461238d1
7
+ data.tar.gz: 5c7eb2013f7f81f9d72ec9e2d46057a20bff1963637acc6263e0636ce05b4d36afd19ab37baa0a26b5ed5152def2b3522234ba3f088539cf82d30b671479a90b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.6.0 (2021-11-02)
4
+
5
+ * Regenerated from discovery document revision 20211029
6
+
7
+ ### v0.5.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.4.0 (2021-10-05)
12
+
13
+ * Regenerated from discovery document revision 20211002
14
+
15
+ ### v0.3.0 (2021-09-29)
16
+
17
+ * Regenerated from discovery document revision 20210927
18
+
3
19
  ### v0.2.0 (2021-09-21)
4
20
 
5
21
  * Regenerated from discovery document revision 20210918
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
@@ -745,17 +745,32 @@ module Google
745
745
  # @return [Float]
746
746
  attr_accessor :confidence
747
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
+
748
753
  # The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/
749
754
  # bcp/bcp47.txt) language tag. Example: "en-US".
750
755
  # Corresponds to the JSON property `languageCode`
751
756
  # @return [String]
752
757
  attr_accessor :language_code
753
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
+
754
764
  # The call participant speaking for a given utterance.
755
765
  # Corresponds to the JSON property `segmentParticipant`
756
766
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant]
757
767
  attr_accessor :segment_participant
758
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
+
759
774
  # The text of this segment.
760
775
  # Corresponds to the JSON property `text`
761
776
  # @return [String]
@@ -774,13 +789,37 @@ module Google
774
789
  def update!(**args)
775
790
  @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
776
791
  @confidence = args[:confidence] if args.key?(:confidence)
792
+ @dialogflow_segment_metadata = args[:dialogflow_segment_metadata] if args.key?(:dialogflow_segment_metadata)
777
793
  @language_code = args[:language_code] if args.key?(:language_code)
794
+ @message_time = args[:message_time] if args.key?(:message_time)
778
795
  @segment_participant = args[:segment_participant] if args.key?(:segment_participant)
796
+ @sentiment = args[:sentiment] if args.key?(:sentiment)
779
797
  @text = args[:text] if args.key?(:text)
780
798
  @words = args[:words] if args.key?(:words)
781
799
  end
782
800
  end
783
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
+
784
823
  # Word-level info for words in a transcript.
785
824
  class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
786
825
  include Google::Apis::Core::Hashable
@@ -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.2.0"
19
+ GEM_VERSION = "0.6.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 = "20210918"
25
+ REVISION = "20211029"
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
 
@@ -792,15 +798,27 @@ module Google
792
798
  class Representation < Google::Apis::Core::JsonRepresentation
793
799
  property :channel_tag, as: 'channelTag'
794
800
  property :confidence, as: 'confidence'
801
+ property :dialogflow_segment_metadata, as: 'dialogflowSegmentMetadata', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata::Representation
802
+
795
803
  property :language_code, as: 'languageCode'
804
+ property :message_time, as: 'messageTime'
796
805
  property :segment_participant, as: 'segmentParticipant', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant::Representation
797
806
 
807
+ property :sentiment, as: 'sentiment', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData::Representation
808
+
798
809
  property :text, as: 'text'
799
810
  collection :words, as: 'words', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo::Representation
800
811
 
801
812
  end
802
813
  end
803
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
+
804
822
  class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
805
823
  # @private
806
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.2.0
4
+ version: 0.6.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-22 00:00:00.000000000 Z
11
+ date: 2021-11-08 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.2.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.6.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: