google-apis-contactcenterinsights_v1 0.32.0 → 0.33.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: e95cb83dbdea7c9d8d24113712ce324dea335eeed2a6362219de15d9518e6741
4
+ data.tar.gz: e718bf4bcc45c32b9b3fd07201c889bd1b3984719ea531f3723e306308fe7ef9
5
5
  SHA512:
6
- metadata.gz: b2594184e1f50858dd27ca53d24fd378c4f3b242e96e0844e6c7010c20ffba9aed5c211d641b0d1f4eadc1650a3ceca58a4ae016dab36a415373fd8378b02ca0
7
- data.tar.gz: 3436a9e56fab42732745aba5ac49968311ebcc825f9922289a0016b2e7fffc292e5b267ed6606a7358ece816062cd4f4df195bfc0fd69759d22385091b775e01
6
+ metadata.gz: 8011973e036c0376937ff58573979b440b34ec28dd91177facd8817425bbb378938c29def10d1a9c6b1d7c2245ea453910e6891b3c55f58779f7ef78a67b7541
7
+ data.tar.gz: 7ee29ac58e8fabc27ddfb67c031be809046e9a6d9c560ec89d0f46c7c528d2d6e88b99eda130f4e0e736bac736f12dd10b43d0faa8b6f5907ca91622990a93c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.33.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231031
6
+
3
7
  ### v0.32.0 (2023-10-29)
4
8
 
5
9
  * 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,98 @@ 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 analyze.
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. The default is 1000. It can be
555
+ # changed by setting the `max_delete_count` field.
556
+ # Corresponds to the JSON property `maxDeleteCount`
557
+ # @return [Fixnum]
558
+ attr_accessor :max_delete_count
559
+
560
+ # Required. The parent resource to create analyses in. Format: projects/`project`
561
+ # /locations/`location`
562
+ # Corresponds to the JSON property `parent`
563
+ # @return [String]
564
+ attr_accessor :parent
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @filter = args[:filter] if args.key?(:filter)
573
+ @force = args[:force] if args.key?(:force)
574
+ @max_delete_count = args[:max_delete_count] if args.key?(:max_delete_count)
575
+ @parent = args[:parent] if args.key?(:parent)
576
+ end
577
+ end
578
+
579
+ # The response for a bulk analyze conversations operation.
580
+ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse
581
+ include Google::Apis::Core::Hashable
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ end
590
+ end
591
+
500
592
  # Response of querying an issue model's statistics.
501
593
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
502
594
  include Google::Apis::Core::Hashable
@@ -1901,6 +1993,16 @@ module Google
1901
1993
  # @return [String]
1902
1994
  attr_accessor :parent
1903
1995
 
1996
+ # DLP resources used for redaction while ingesting conversations.
1997
+ # Corresponds to the JSON property `redactionConfig`
1998
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
1999
+ attr_accessor :redaction_config
2000
+
2001
+ # Speech-to-Text configuration.
2002
+ # Corresponds to the JSON property `speechConfig`
2003
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
2004
+ attr_accessor :speech_config
2005
+
1904
2006
  # Configuration for processing transcript objects.
1905
2007
  # Corresponds to the JSON property `transcriptObjectConfig`
1906
2008
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig]
@@ -1915,6 +2017,8 @@ module Google
1915
2017
  @conversation_config = args[:conversation_config] if args.key?(:conversation_config)
1916
2018
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1917
2019
  @parent = args[:parent] if args.key?(:parent)
2020
+ @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
2021
+ @speech_config = args[:speech_config] if args.key?(:speech_config)
1918
2022
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
1919
2023
  end
1920
2024
  end
@@ -1923,19 +2027,35 @@ module Google
1923
2027
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
1924
2028
  include Google::Apis::Core::Hashable
1925
2029
 
2030
+ # Optional. For audio conversations, this field indicates which of the channels,
2031
+ # 1 or 2, contains the agent. Note that this must be set for audio conversations
2032
+ # to be properly displayed and analyzed.
2033
+ # Corresponds to the JSON property `agentChannel`
2034
+ # @return [Fixnum]
2035
+ attr_accessor :agent_channel
2036
+
1926
2037
  # An opaque, user-specified string representing the human agent who handled the
1927
2038
  # conversations.
1928
2039
  # Corresponds to the JSON property `agentId`
1929
2040
  # @return [String]
1930
2041
  attr_accessor :agent_id
1931
2042
 
2043
+ # Optional. For audio conversations, this field indicates which of the channels,
2044
+ # 1 or 2, contains the customer. Note that this must be set for audio
2045
+ # conversations to be properly displayed and analyzed.
2046
+ # Corresponds to the JSON property `customerChannel`
2047
+ # @return [Fixnum]
2048
+ attr_accessor :customer_channel
2049
+
1932
2050
  def initialize(**args)
1933
2051
  update!(**args)
1934
2052
  end
1935
2053
 
1936
2054
  # Update properties of this object
1937
2055
  def update!(**args)
2056
+ @agent_channel = args[:agent_channel] if args.key?(:agent_channel)
1938
2057
  @agent_id = args[:agent_id] if args.key?(:agent_id)
2058
+ @customer_channel = args[:customer_channel] if args.key?(:customer_channel)
1939
2059
  end
1940
2060
  end
1941
2061
 
@@ -1943,6 +2063,11 @@ module Google
1943
2063
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
1944
2064
  include Google::Apis::Core::Hashable
1945
2065
 
2066
+ # Optional. Specifies the type of the objects in `bucket_uri`.
2067
+ # Corresponds to the JSON property `bucketObjectType`
2068
+ # @return [String]
2069
+ attr_accessor :bucket_object_type
2070
+
1946
2071
  # Required. The Cloud Storage bucket containing source objects.
1947
2072
  # Corresponds to the JSON property `bucketUri`
1948
2073
  # @return [String]
@@ -1954,6 +2079,7 @@ module Google
1954
2079
 
1955
2080
  # Update properties of this object
1956
2081
  def update!(**args)
2082
+ @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
1957
2083
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
1958
2084
  end
1959
2085
  end
@@ -3620,7 +3746,7 @@ module Google
3620
3746
  # @return [Fixnum]
3621
3747
  attr_accessor :failed_analyses_count
3622
3748
 
3623
- # Output only. Partial errors during ingest operation that might cause the
3749
+ # Output only. Partial errors during bulk analyze operation that might cause the
3624
3750
  # operation output to be incomplete.
3625
3751
  # Corresponds to the JSON property `partialErrors`
3626
3752
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
@@ -3715,6 +3841,98 @@ module Google
3715
3841
  end
3716
3842
  end
3717
3843
 
3844
+ # The metadata for a bulk delete conversations operation.
3845
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata
3846
+ include Google::Apis::Core::Hashable
3847
+
3848
+ # The time the operation was created.
3849
+ # Corresponds to the JSON property `createTime`
3850
+ # @return [String]
3851
+ attr_accessor :create_time
3852
+
3853
+ # The time the operation finished running.
3854
+ # Corresponds to the JSON property `endTime`
3855
+ # @return [String]
3856
+ attr_accessor :end_time
3857
+
3858
+ # Partial errors during bulk delete conversations operation that might cause the
3859
+ # operation output to be incomplete.
3860
+ # Corresponds to the JSON property `partialErrors`
3861
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
3862
+ attr_accessor :partial_errors
3863
+
3864
+ # The request to delete conversations in bulk.
3865
+ # Corresponds to the JSON property `request`
3866
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest]
3867
+ attr_accessor :request
3868
+
3869
+ def initialize(**args)
3870
+ update!(**args)
3871
+ end
3872
+
3873
+ # Update properties of this object
3874
+ def update!(**args)
3875
+ @create_time = args[:create_time] if args.key?(:create_time)
3876
+ @end_time = args[:end_time] if args.key?(:end_time)
3877
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
3878
+ @request = args[:request] if args.key?(:request)
3879
+ end
3880
+ end
3881
+
3882
+ # The request to delete conversations in bulk.
3883
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest
3884
+ include Google::Apis::Core::Hashable
3885
+
3886
+ # Filter used to select the subset of conversations to analyze.
3887
+ # Corresponds to the JSON property `filter`
3888
+ # @return [String]
3889
+ attr_accessor :filter
3890
+
3891
+ # If set to true, all of this conversation's analyses will also be deleted.
3892
+ # Otherwise, the request will only succeed if the conversation has no analyses.
3893
+ # Corresponds to the JSON property `force`
3894
+ # @return [Boolean]
3895
+ attr_accessor :force
3896
+ alias_method :force?, :force
3897
+
3898
+ # Maximum number of conversations to delete. The default is 1000. It can be
3899
+ # changed by setting the `max_delete_count` field.
3900
+ # Corresponds to the JSON property `maxDeleteCount`
3901
+ # @return [Fixnum]
3902
+ attr_accessor :max_delete_count
3903
+
3904
+ # Required. The parent resource to create analyses in. Format: projects/`project`
3905
+ # /locations/`location`
3906
+ # Corresponds to the JSON property `parent`
3907
+ # @return [String]
3908
+ attr_accessor :parent
3909
+
3910
+ def initialize(**args)
3911
+ update!(**args)
3912
+ end
3913
+
3914
+ # Update properties of this object
3915
+ def update!(**args)
3916
+ @filter = args[:filter] if args.key?(:filter)
3917
+ @force = args[:force] if args.key?(:force)
3918
+ @max_delete_count = args[:max_delete_count] if args.key?(:max_delete_count)
3919
+ @parent = args[:parent] if args.key?(:parent)
3920
+ end
3921
+ end
3922
+
3923
+ # The response for a bulk analyze conversations operation.
3924
+ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse
3925
+ include Google::Apis::Core::Hashable
3926
+
3927
+ def initialize(**args)
3928
+ update!(**args)
3929
+ end
3930
+
3931
+ # Update properties of this object
3932
+ def update!(**args)
3933
+ end
3934
+ end
3935
+
3718
3936
  # A piece of metadata that applies to a window of a call.
3719
3937
  class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
3720
3938
  include Google::Apis::Core::Hashable
@@ -4961,6 +5179,16 @@ module Google
4961
5179
  # @return [String]
4962
5180
  attr_accessor :parent
4963
5181
 
5182
+ # DLP resources used for redaction while ingesting conversations.
5183
+ # Corresponds to the JSON property `redactionConfig`
5184
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
5185
+ attr_accessor :redaction_config
5186
+
5187
+ # Speech-to-Text configuration.
5188
+ # Corresponds to the JSON property `speechConfig`
5189
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
5190
+ attr_accessor :speech_config
5191
+
4964
5192
  # Configuration for processing transcript objects.
4965
5193
  # Corresponds to the JSON property `transcriptObjectConfig`
4966
5194
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig]
@@ -4975,6 +5203,8 @@ module Google
4975
5203
  @conversation_config = args[:conversation_config] if args.key?(:conversation_config)
4976
5204
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4977
5205
  @parent = args[:parent] if args.key?(:parent)
5206
+ @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
5207
+ @speech_config = args[:speech_config] if args.key?(:speech_config)
4978
5208
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
4979
5209
  end
4980
5210
  end
@@ -4983,19 +5213,35 @@ module Google
4983
5213
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
4984
5214
  include Google::Apis::Core::Hashable
4985
5215
 
5216
+ # Optional. For audio conversations, this field indicates which of the channels,
5217
+ # 1 or 2, contains the agent. Note that this must be set for audio conversations
5218
+ # to be properly displayed and analyzed.
5219
+ # Corresponds to the JSON property `agentChannel`
5220
+ # @return [Fixnum]
5221
+ attr_accessor :agent_channel
5222
+
4986
5223
  # An opaque, user-specified string representing the human agent who handled the
4987
5224
  # conversations.
4988
5225
  # Corresponds to the JSON property `agentId`
4989
5226
  # @return [String]
4990
5227
  attr_accessor :agent_id
4991
5228
 
5229
+ # Optional. For audio conversations, this field indicates which of the channels,
5230
+ # 1 or 2, contains the customer. Note that this must be set for audio
5231
+ # conversations to be properly displayed and analyzed.
5232
+ # Corresponds to the JSON property `customerChannel`
5233
+ # @return [Fixnum]
5234
+ attr_accessor :customer_channel
5235
+
4992
5236
  def initialize(**args)
4993
5237
  update!(**args)
4994
5238
  end
4995
5239
 
4996
5240
  # Update properties of this object
4997
5241
  def update!(**args)
5242
+ @agent_channel = args[:agent_channel] if args.key?(:agent_channel)
4998
5243
  @agent_id = args[:agent_id] if args.key?(:agent_id)
5244
+ @customer_channel = args[:customer_channel] if args.key?(:customer_channel)
4999
5245
  end
5000
5246
  end
5001
5247
 
@@ -5003,6 +5249,11 @@ module Google
5003
5249
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
5004
5250
  include Google::Apis::Core::Hashable
5005
5251
 
5252
+ # Optional. Specifies the type of the objects in `bucket_uri`.
5253
+ # Corresponds to the JSON property `bucketObjectType`
5254
+ # @return [String]
5255
+ attr_accessor :bucket_object_type
5256
+
5006
5257
  # Required. The Cloud Storage bucket containing source objects.
5007
5258
  # Corresponds to the JSON property `bucketUri`
5008
5259
  # @return [String]
@@ -5014,6 +5265,7 @@ module Google
5014
5265
 
5015
5266
  # Update properties of this object
5016
5267
  def update!(**args)
5268
+ @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
5017
5269
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
5018
5270
  end
5019
5271
  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.33.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 = "20231031"
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 create analyses in. Format: projects/`project`
155
+ # /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.33.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-05 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.33.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: []