google-apis-contactcenterinsights_v1 0.32.0 → 0.34.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: 6d7fa49f2d449054e72d84aae766b15f3bd9e7f87e24054b3f38f954f6baec87
4
- data.tar.gz: 28b0ed2f606b6c82a8ded2af4ec2701ed7d4b5048b985e1eac971f7821e1b69a
3
+ metadata.gz: 9ce255bb5f54f80065cfec1e8ffc4b2f3cdcbfaca7dc49b9af23ecc036a157f6
4
+ data.tar.gz: a970b8819f51082eaa5fa4f962964c90c9c664f666a4e3fc974e198466865d25
5
5
  SHA512:
6
- metadata.gz: b2594184e1f50858dd27ca53d24fd378c4f3b242e96e0844e6c7010c20ffba9aed5c211d641b0d1f4eadc1650a3ceca58a4ae016dab36a415373fd8378b02ca0
7
- data.tar.gz: 3436a9e56fab42732745aba5ac49968311ebcc825f9922289a0016b2e7fffc292e5b267ed6606a7358ece816062cd4f4df195bfc0fd69759d22385091b775e01
6
+ metadata.gz: 8b856aa73c9127144c5730467ff2765ff8b484ac31b3a4570629a93e411b1f0a02ef39f1a80859cc6f5efb26683c57aa9c0da6ab3614de6caae9da47fb1ec480
7
+ data.tar.gz: d87e2641717f9582d3492462b5f7608a73dd839ba508d247d48fd71458e73922dec805dea0472b2c7f03e1044b0036c0477e63df09edc35b6ea1393bf9cff29c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.34.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
7
+ ### v0.33.0 (2023-11-05)
8
+
9
+ * Regenerated from discovery document revision 20231031
10
+
3
11
  ### v0.32.0 (2023-10-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20231023
@@ -402,7 +402,7 @@ module Google
402
402
  # @return [Fixnum]
403
403
  attr_accessor :failed_analyses_count
404
404
 
405
- # Output only. Partial errors during ingest operation that might cause the
405
+ # Output only. Partial errors during bulk analyze operation that might cause the
406
406
  # operation output to be incomplete.
407
407
  # Corresponds to the JSON property `partialErrors`
408
408
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
@@ -497,6 +497,97 @@ module Google
497
497
  end
498
498
  end
499
499
 
500
+ # The metadata for a bulk delete conversations operation.
501
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata
502
+ include Google::Apis::Core::Hashable
503
+
504
+ # The time the operation was created.
505
+ # Corresponds to the JSON property `createTime`
506
+ # @return [String]
507
+ attr_accessor :create_time
508
+
509
+ # The time the operation finished running.
510
+ # Corresponds to the JSON property `endTime`
511
+ # @return [String]
512
+ attr_accessor :end_time
513
+
514
+ # Partial errors during bulk delete conversations operation that might cause the
515
+ # operation output to be incomplete.
516
+ # Corresponds to the JSON property `partialErrors`
517
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
518
+ attr_accessor :partial_errors
519
+
520
+ # The request to delete conversations in bulk.
521
+ # Corresponds to the JSON property `request`
522
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest]
523
+ attr_accessor :request
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @create_time = args[:create_time] if args.key?(:create_time)
532
+ @end_time = args[:end_time] if args.key?(:end_time)
533
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
534
+ @request = args[:request] if args.key?(:request)
535
+ end
536
+ end
537
+
538
+ # The request to delete conversations in bulk.
539
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest
540
+ include Google::Apis::Core::Hashable
541
+
542
+ # Filter used to select the subset of conversations to delete.
543
+ # Corresponds to the JSON property `filter`
544
+ # @return [String]
545
+ attr_accessor :filter
546
+
547
+ # If set to true, all of this conversation's analyses will also be deleted.
548
+ # Otherwise, the request will only succeed if the conversation has no analyses.
549
+ # Corresponds to the JSON property `force`
550
+ # @return [Boolean]
551
+ attr_accessor :force
552
+ alias_method :force?, :force
553
+
554
+ # Maximum number of conversations to delete.
555
+ # Corresponds to the JSON property `maxDeleteCount`
556
+ # @return [Fixnum]
557
+ attr_accessor :max_delete_count
558
+
559
+ # Required. The parent resource to delete conversations from. Format: projects/`
560
+ # project`/locations/`location`
561
+ # Corresponds to the JSON property `parent`
562
+ # @return [String]
563
+ attr_accessor :parent
564
+
565
+ def initialize(**args)
566
+ update!(**args)
567
+ end
568
+
569
+ # Update properties of this object
570
+ def update!(**args)
571
+ @filter = args[:filter] if args.key?(:filter)
572
+ @force = args[:force] if args.key?(:force)
573
+ @max_delete_count = args[:max_delete_count] if args.key?(:max_delete_count)
574
+ @parent = args[:parent] if args.key?(:parent)
575
+ end
576
+ end
577
+
578
+ # The response for a bulk delete conversations operation.
579
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse
580
+ include Google::Apis::Core::Hashable
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ end
589
+ end
590
+
500
591
  # Response of querying an issue model's statistics.
501
592
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
502
593
  include Google::Apis::Core::Hashable
@@ -1901,6 +1992,16 @@ module Google
1901
1992
  # @return [String]
1902
1993
  attr_accessor :parent
1903
1994
 
1995
+ # DLP resources used for redaction while ingesting conversations.
1996
+ # Corresponds to the JSON property `redactionConfig`
1997
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
1998
+ attr_accessor :redaction_config
1999
+
2000
+ # Speech-to-Text configuration.
2001
+ # Corresponds to the JSON property `speechConfig`
2002
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
2003
+ attr_accessor :speech_config
2004
+
1904
2005
  # Configuration for processing transcript objects.
1905
2006
  # Corresponds to the JSON property `transcriptObjectConfig`
1906
2007
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig]
@@ -1915,6 +2016,8 @@ module Google
1915
2016
  @conversation_config = args[:conversation_config] if args.key?(:conversation_config)
1916
2017
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1917
2018
  @parent = args[:parent] if args.key?(:parent)
2019
+ @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
2020
+ @speech_config = args[:speech_config] if args.key?(:speech_config)
1918
2021
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
1919
2022
  end
1920
2023
  end
@@ -1923,19 +2026,35 @@ module Google
1923
2026
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
1924
2027
  include Google::Apis::Core::Hashable
1925
2028
 
2029
+ # Optional. For audio conversations, this field indicates which of the channels,
2030
+ # 1 or 2, contains the agent. Note that this must be set for audio conversations
2031
+ # to be properly displayed and analyzed.
2032
+ # Corresponds to the JSON property `agentChannel`
2033
+ # @return [Fixnum]
2034
+ attr_accessor :agent_channel
2035
+
1926
2036
  # An opaque, user-specified string representing the human agent who handled the
1927
2037
  # conversations.
1928
2038
  # Corresponds to the JSON property `agentId`
1929
2039
  # @return [String]
1930
2040
  attr_accessor :agent_id
1931
2041
 
2042
+ # Optional. For audio conversations, this field indicates which of the channels,
2043
+ # 1 or 2, contains the customer. Note that this must be set for audio
2044
+ # conversations to be properly displayed and analyzed.
2045
+ # Corresponds to the JSON property `customerChannel`
2046
+ # @return [Fixnum]
2047
+ attr_accessor :customer_channel
2048
+
1932
2049
  def initialize(**args)
1933
2050
  update!(**args)
1934
2051
  end
1935
2052
 
1936
2053
  # Update properties of this object
1937
2054
  def update!(**args)
2055
+ @agent_channel = args[:agent_channel] if args.key?(:agent_channel)
1938
2056
  @agent_id = args[:agent_id] if args.key?(:agent_id)
2057
+ @customer_channel = args[:customer_channel] if args.key?(:customer_channel)
1939
2058
  end
1940
2059
  end
1941
2060
 
@@ -1943,6 +2062,11 @@ module Google
1943
2062
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
1944
2063
  include Google::Apis::Core::Hashable
1945
2064
 
2065
+ # Optional. Specifies the type of the objects in `bucket_uri`.
2066
+ # Corresponds to the JSON property `bucketObjectType`
2067
+ # @return [String]
2068
+ attr_accessor :bucket_object_type
2069
+
1946
2070
  # Required. The Cloud Storage bucket containing source objects.
1947
2071
  # Corresponds to the JSON property `bucketUri`
1948
2072
  # @return [String]
@@ -1954,6 +2078,7 @@ module Google
1954
2078
 
1955
2079
  # Update properties of this object
1956
2080
  def update!(**args)
2081
+ @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
1957
2082
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
1958
2083
  end
1959
2084
  end
@@ -3620,7 +3745,7 @@ module Google
3620
3745
  # @return [Fixnum]
3621
3746
  attr_accessor :failed_analyses_count
3622
3747
 
3623
- # Output only. Partial errors during ingest operation that might cause the
3748
+ # Output only. Partial errors during bulk analyze operation that might cause the
3624
3749
  # operation output to be incomplete.
3625
3750
  # Corresponds to the JSON property `partialErrors`
3626
3751
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
@@ -3715,6 +3840,97 @@ module Google
3715
3840
  end
3716
3841
  end
3717
3842
 
3843
+ # The metadata for a bulk delete conversations operation.
3844
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata
3845
+ include Google::Apis::Core::Hashable
3846
+
3847
+ # The time the operation was created.
3848
+ # Corresponds to the JSON property `createTime`
3849
+ # @return [String]
3850
+ attr_accessor :create_time
3851
+
3852
+ # The time the operation finished running.
3853
+ # Corresponds to the JSON property `endTime`
3854
+ # @return [String]
3855
+ attr_accessor :end_time
3856
+
3857
+ # Partial errors during bulk delete conversations operation that might cause the
3858
+ # operation output to be incomplete.
3859
+ # Corresponds to the JSON property `partialErrors`
3860
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
3861
+ attr_accessor :partial_errors
3862
+
3863
+ # The request to delete conversations in bulk.
3864
+ # Corresponds to the JSON property `request`
3865
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest]
3866
+ attr_accessor :request
3867
+
3868
+ def initialize(**args)
3869
+ update!(**args)
3870
+ end
3871
+
3872
+ # Update properties of this object
3873
+ def update!(**args)
3874
+ @create_time = args[:create_time] if args.key?(:create_time)
3875
+ @end_time = args[:end_time] if args.key?(:end_time)
3876
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
3877
+ @request = args[:request] if args.key?(:request)
3878
+ end
3879
+ end
3880
+
3881
+ # The request to delete conversations in bulk.
3882
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest
3883
+ include Google::Apis::Core::Hashable
3884
+
3885
+ # Filter used to select the subset of conversations to delete.
3886
+ # Corresponds to the JSON property `filter`
3887
+ # @return [String]
3888
+ attr_accessor :filter
3889
+
3890
+ # If set to true, all of this conversation's analyses will also be deleted.
3891
+ # Otherwise, the request will only succeed if the conversation has no analyses.
3892
+ # Corresponds to the JSON property `force`
3893
+ # @return [Boolean]
3894
+ attr_accessor :force
3895
+ alias_method :force?, :force
3896
+
3897
+ # Maximum number of conversations to delete.
3898
+ # Corresponds to the JSON property `maxDeleteCount`
3899
+ # @return [Fixnum]
3900
+ attr_accessor :max_delete_count
3901
+
3902
+ # Required. The parent resource to delete conversations from. Format: projects/`
3903
+ # project`/locations/`location`
3904
+ # Corresponds to the JSON property `parent`
3905
+ # @return [String]
3906
+ attr_accessor :parent
3907
+
3908
+ def initialize(**args)
3909
+ update!(**args)
3910
+ end
3911
+
3912
+ # Update properties of this object
3913
+ def update!(**args)
3914
+ @filter = args[:filter] if args.key?(:filter)
3915
+ @force = args[:force] if args.key?(:force)
3916
+ @max_delete_count = args[:max_delete_count] if args.key?(:max_delete_count)
3917
+ @parent = args[:parent] if args.key?(:parent)
3918
+ end
3919
+ end
3920
+
3921
+ # The response for a bulk delete conversations operation.
3922
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse
3923
+ include Google::Apis::Core::Hashable
3924
+
3925
+ def initialize(**args)
3926
+ update!(**args)
3927
+ end
3928
+
3929
+ # Update properties of this object
3930
+ def update!(**args)
3931
+ end
3932
+ end
3933
+
3718
3934
  # A piece of metadata that applies to a window of a call.
3719
3935
  class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
3720
3936
  include Google::Apis::Core::Hashable
@@ -4961,6 +5177,16 @@ module Google
4961
5177
  # @return [String]
4962
5178
  attr_accessor :parent
4963
5179
 
5180
+ # DLP resources used for redaction while ingesting conversations.
5181
+ # Corresponds to the JSON property `redactionConfig`
5182
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
5183
+ attr_accessor :redaction_config
5184
+
5185
+ # Speech-to-Text configuration.
5186
+ # Corresponds to the JSON property `speechConfig`
5187
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
5188
+ attr_accessor :speech_config
5189
+
4964
5190
  # Configuration for processing transcript objects.
4965
5191
  # Corresponds to the JSON property `transcriptObjectConfig`
4966
5192
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig]
@@ -4975,6 +5201,8 @@ module Google
4975
5201
  @conversation_config = args[:conversation_config] if args.key?(:conversation_config)
4976
5202
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4977
5203
  @parent = args[:parent] if args.key?(:parent)
5204
+ @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
5205
+ @speech_config = args[:speech_config] if args.key?(:speech_config)
4978
5206
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
4979
5207
  end
4980
5208
  end
@@ -4983,19 +5211,35 @@ module Google
4983
5211
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
4984
5212
  include Google::Apis::Core::Hashable
4985
5213
 
5214
+ # Optional. For audio conversations, this field indicates which of the channels,
5215
+ # 1 or 2, contains the agent. Note that this must be set for audio conversations
5216
+ # to be properly displayed and analyzed.
5217
+ # Corresponds to the JSON property `agentChannel`
5218
+ # @return [Fixnum]
5219
+ attr_accessor :agent_channel
5220
+
4986
5221
  # An opaque, user-specified string representing the human agent who handled the
4987
5222
  # conversations.
4988
5223
  # Corresponds to the JSON property `agentId`
4989
5224
  # @return [String]
4990
5225
  attr_accessor :agent_id
4991
5226
 
5227
+ # Optional. For audio conversations, this field indicates which of the channels,
5228
+ # 1 or 2, contains the customer. Note that this must be set for audio
5229
+ # conversations to be properly displayed and analyzed.
5230
+ # Corresponds to the JSON property `customerChannel`
5231
+ # @return [Fixnum]
5232
+ attr_accessor :customer_channel
5233
+
4992
5234
  def initialize(**args)
4993
5235
  update!(**args)
4994
5236
  end
4995
5237
 
4996
5238
  # Update properties of this object
4997
5239
  def update!(**args)
5240
+ @agent_channel = args[:agent_channel] if args.key?(:agent_channel)
4998
5241
  @agent_id = args[:agent_id] if args.key?(:agent_id)
5242
+ @customer_channel = args[:customer_channel] if args.key?(:customer_channel)
4999
5243
  end
5000
5244
  end
5001
5245
 
@@ -5003,6 +5247,11 @@ module Google
5003
5247
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
5004
5248
  include Google::Apis::Core::Hashable
5005
5249
 
5250
+ # Optional. Specifies the type of the objects in `bucket_uri`.
5251
+ # Corresponds to the JSON property `bucketObjectType`
5252
+ # @return [String]
5253
+ attr_accessor :bucket_object_type
5254
+
5006
5255
  # Required. The Cloud Storage bucket containing source objects.
5007
5256
  # Corresponds to the JSON property `bucketUri`
5008
5257
  # @return [String]
@@ -5014,6 +5263,7 @@ module Google
5014
5263
 
5015
5264
  # Update properties of this object
5016
5265
  def update!(**args)
5266
+ @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
5017
5267
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
5018
5268
  end
5019
5269
  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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231023"
25
+ REVISION = "20231113"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,24 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
91
109
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
92
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
111
 
@@ -634,6 +652,24 @@ module Google
634
652
  include Google::Apis::Core::JsonObjectSupport
635
653
  end
636
654
 
655
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
637
673
  class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
638
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
675
 
@@ -1153,6 +1189,34 @@ module Google
1153
1189
  end
1154
1190
  end
1155
1191
 
1192
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata
1193
+ # @private
1194
+ class Representation < Google::Apis::Core::JsonRepresentation
1195
+ property :create_time, as: 'createTime'
1196
+ property :end_time, as: 'endTime'
1197
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
1198
+
1199
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
1200
+
1201
+ end
1202
+ end
1203
+
1204
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :filter, as: 'filter'
1208
+ property :force, as: 'force'
1209
+ property :max_delete_count, as: 'maxDeleteCount'
1210
+ property :parent, as: 'parent'
1211
+ end
1212
+ end
1213
+
1214
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ end
1218
+ end
1219
+
1156
1220
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
1157
1221
  # @private
1158
1222
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1567,6 +1631,10 @@ module Google
1567
1631
  property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource::Representation
1568
1632
 
1569
1633
  property :parent, as: 'parent'
1634
+ property :redaction_config, as: 'redactionConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig::Representation
1635
+
1636
+ property :speech_config, as: 'speechConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig::Representation
1637
+
1570
1638
  property :transcript_object_config, as: 'transcriptObjectConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig::Representation
1571
1639
 
1572
1640
  end
@@ -1575,13 +1643,16 @@ module Google
1575
1643
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
1576
1644
  # @private
1577
1645
  class Representation < Google::Apis::Core::JsonRepresentation
1646
+ property :agent_channel, as: 'agentChannel'
1578
1647
  property :agent_id, as: 'agentId'
1648
+ property :customer_channel, as: 'customerChannel'
1579
1649
  end
1580
1650
  end
1581
1651
 
1582
1652
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
1583
1653
  # @private
1584
1654
  class Representation < Google::Apis::Core::JsonRepresentation
1655
+ property :bucket_object_type, as: 'bucketObjectType'
1585
1656
  property :bucket_uri, as: 'bucketUri'
1586
1657
  end
1587
1658
  end
@@ -2101,6 +2172,34 @@ module Google
2101
2172
  end
2102
2173
  end
2103
2174
 
2175
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata
2176
+ # @private
2177
+ class Representation < Google::Apis::Core::JsonRepresentation
2178
+ property :create_time, as: 'createTime'
2179
+ property :end_time, as: 'endTime'
2180
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
2181
+
2182
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest::Representation
2183
+
2184
+ end
2185
+ end
2186
+
2187
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest
2188
+ # @private
2189
+ class Representation < Google::Apis::Core::JsonRepresentation
2190
+ property :filter, as: 'filter'
2191
+ property :force, as: 'force'
2192
+ property :max_delete_count, as: 'maxDeleteCount'
2193
+ property :parent, as: 'parent'
2194
+ end
2195
+ end
2196
+
2197
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse
2198
+ # @private
2199
+ class Representation < Google::Apis::Core::JsonRepresentation
2200
+ end
2201
+ end
2202
+
2104
2203
  class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
2105
2204
  # @private
2106
2205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2467,6 +2566,10 @@ module Google
2467
2566
  property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource::Representation
2468
2567
 
2469
2568
  property :parent, as: 'parent'
2569
+ property :redaction_config, as: 'redactionConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig::Representation
2570
+
2571
+ property :speech_config, as: 'speechConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig::Representation
2572
+
2470
2573
  property :transcript_object_config, as: 'transcriptObjectConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig::Representation
2471
2574
 
2472
2575
  end
@@ -2475,13 +2578,16 @@ module Google
2475
2578
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
2476
2579
  # @private
2477
2580
  class Representation < Google::Apis::Core::JsonRepresentation
2581
+ property :agent_channel, as: 'agentChannel'
2478
2582
  property :agent_id, as: 'agentId'
2583
+ property :customer_channel, as: 'customerChannel'
2479
2584
  end
2480
2585
  end
2481
2586
 
2482
2587
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
2483
2588
  # @private
2484
2589
  class Representation < Google::Apis::Core::JsonRepresentation
2590
+ property :bucket_object_type, as: 'bucketObjectType'
2485
2591
  property :bucket_uri, as: 'bucketUri'
2486
2592
  end
2487
2593
  end
@@ -149,6 +149,40 @@ module Google
149
149
  execute_or_queue_command(command, &block)
150
150
  end
151
151
 
152
+ # Deletes multiple conversations in a single request.
153
+ # @param [String] parent
154
+ # Required. The parent resource to delete conversations from. Format: projects/`
155
+ # project`/locations/`location`
156
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
159
+ # @param [String] quota_user
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
+ # @param [Google::Apis::RequestOptions] options
163
+ # Request-specific options
164
+ #
165
+ # @yield [result, err] Result & error if block supplied
166
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
167
+ # @yieldparam err [StandardError] error object if request failed
168
+ #
169
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
170
+ #
171
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
174
+ def bulk_project_location_conversation_delete(parent, google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
176
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
177
+ command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
178
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
179
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
180
+ command.params['parent'] = parent unless parent.nil?
181
+ command.query['fields'] = fields unless fields.nil?
182
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
183
+ execute_or_queue_command(command, &block)
184
+ end
185
+
152
186
  # Gets conversation statistics.
153
187
  # @param [String] location
154
188
  # Required. The location of the conversations.
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.32.0
4
+ version: 0.34.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: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.34.0
62
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: []