google-apis-contactcenterinsights_v1 0.37.0 → 0.38.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: eb3516ddc8be0b4751372e424d0f070e49f844ccb1d4fe9609268eb166fb21eb
4
- data.tar.gz: 7d9bc63b2c7ce0a3d79c4e4247eefa0aebf597dbe5caee87b3619dd8e58a4ca6
3
+ metadata.gz: 11a19cbc76ce781cbe4870ae5aae9a901334d2337281d600c63ad22cf208fc35
4
+ data.tar.gz: 5df8d6de18b07266e34155fc39812a57e80332b7a8aea9482df9ff4142a54a86
5
5
  SHA512:
6
- metadata.gz: cfc8cc5f34fae8373fd30d2e7b572c11025f99d986be73fe3a51724742ea4d309553affb917e070c14a4dbf7fe37bf615ee5f298a9cf07a209ead100d4221d57
7
- data.tar.gz: e126ff337b27f50b20fb6372cb2c740db19b2154fcb35bbf516dfa8b3bb98b4374401bcc182d76cc25cfe0dd100cc1f127374ea5b84c23a05b2164b0958a7588
6
+ metadata.gz: 9be979f5932becd051178778f440782e3d624dd5aad46f4a8e01700c4f6155089a270c4ddb7ac363b5d8ab1c2d82055ecd985084a970ff0375e922f07b09b5ad
7
+ data.tar.gz: 44535299fd366b7ce8729ceee2fc14e934c8d1a1ca0c909e2d09e9783714b2c3b4bc17319ff69194deebd01b016b6630c6f5ae04b61ff37d5ecf566426e6b85a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.38.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240206
6
+ * Regenerated using generator version 0.13.1
7
+
3
8
  ### v0.37.0 (2024-01-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240115
@@ -1875,6 +1875,94 @@ module Google
1875
1875
  end
1876
1876
  end
1877
1877
 
1878
+ # Metadata used for export issue model.
1879
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata
1880
+ include Google::Apis::Core::Hashable
1881
+
1882
+ # The time the operation was created.
1883
+ # Corresponds to the JSON property `createTime`
1884
+ # @return [String]
1885
+ attr_accessor :create_time
1886
+
1887
+ # The time the operation finished running.
1888
+ # Corresponds to the JSON property `endTime`
1889
+ # @return [String]
1890
+ attr_accessor :end_time
1891
+
1892
+ # Request to export an issue model.
1893
+ # Corresponds to the JSON property `request`
1894
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest]
1895
+ attr_accessor :request
1896
+
1897
+ def initialize(**args)
1898
+ update!(**args)
1899
+ end
1900
+
1901
+ # Update properties of this object
1902
+ def update!(**args)
1903
+ @create_time = args[:create_time] if args.key?(:create_time)
1904
+ @end_time = args[:end_time] if args.key?(:end_time)
1905
+ @request = args[:request] if args.key?(:request)
1906
+ end
1907
+ end
1908
+
1909
+ # Request to export an issue model.
1910
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
1911
+ include Google::Apis::Core::Hashable
1912
+
1913
+ # Google Cloud Storage Object URI to save the issue model to.
1914
+ # Corresponds to the JSON property `gcsDestination`
1915
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination]
1916
+ attr_accessor :gcs_destination
1917
+
1918
+ # Required. The issue model to export
1919
+ # Corresponds to the JSON property `name`
1920
+ # @return [String]
1921
+ attr_accessor :name
1922
+
1923
+ def initialize(**args)
1924
+ update!(**args)
1925
+ end
1926
+
1927
+ # Update properties of this object
1928
+ def update!(**args)
1929
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1930
+ @name = args[:name] if args.key?(:name)
1931
+ end
1932
+ end
1933
+
1934
+ # Google Cloud Storage Object URI to save the issue model to.
1935
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination
1936
+ include Google::Apis::Core::Hashable
1937
+
1938
+ # Required. Format: `gs:///`
1939
+ # Corresponds to the JSON property `objectUri`
1940
+ # @return [String]
1941
+ attr_accessor :object_uri
1942
+
1943
+ def initialize(**args)
1944
+ update!(**args)
1945
+ end
1946
+
1947
+ # Update properties of this object
1948
+ def update!(**args)
1949
+ @object_uri = args[:object_uri] if args.key?(:object_uri)
1950
+ end
1951
+ end
1952
+
1953
+ # Response from export issue model
1954
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelResponse
1955
+ include Google::Apis::Core::Hashable
1956
+
1957
+ def initialize(**args)
1958
+ update!(**args)
1959
+ end
1960
+
1961
+ # Update properties of this object
1962
+ def update!(**args)
1963
+ end
1964
+ end
1965
+
1878
1966
  # Agent Assist frequently-asked-question answer data.
1879
1967
  class GoogleCloudContactcenterinsightsV1FaqAnswerData
1880
1968
  include Google::Apis::Core::Hashable
@@ -1968,6 +2056,103 @@ module Google
1968
2056
  end
1969
2057
  end
1970
2058
 
2059
+ # Metadata used for import issue model.
2060
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata
2061
+ include Google::Apis::Core::Hashable
2062
+
2063
+ # The time the operation was created.
2064
+ # Corresponds to the JSON property `createTime`
2065
+ # @return [String]
2066
+ attr_accessor :create_time
2067
+
2068
+ # The time the operation finished running.
2069
+ # Corresponds to the JSON property `endTime`
2070
+ # @return [String]
2071
+ attr_accessor :end_time
2072
+
2073
+ # Request to import an issue model.
2074
+ # Corresponds to the JSON property `request`
2075
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest]
2076
+ attr_accessor :request
2077
+
2078
+ def initialize(**args)
2079
+ update!(**args)
2080
+ end
2081
+
2082
+ # Update properties of this object
2083
+ def update!(**args)
2084
+ @create_time = args[:create_time] if args.key?(:create_time)
2085
+ @end_time = args[:end_time] if args.key?(:end_time)
2086
+ @request = args[:request] if args.key?(:request)
2087
+ end
2088
+ end
2089
+
2090
+ # Request to import an issue model.
2091
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
2092
+ include Google::Apis::Core::Hashable
2093
+
2094
+ # Optional. If set to true, will create a new issue model from the imported file
2095
+ # with randomly generated IDs for the issue model and corresponding issues.
2096
+ # Otherwise, replaces an existing model with the same ID as the file.
2097
+ # Corresponds to the JSON property `createNewModel`
2098
+ # @return [Boolean]
2099
+ attr_accessor :create_new_model
2100
+ alias_method :create_new_model?, :create_new_model
2101
+
2102
+ # Google Cloud Storage Object URI to get the issue model file from.
2103
+ # Corresponds to the JSON property `gcsSource`
2104
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource]
2105
+ attr_accessor :gcs_source
2106
+
2107
+ # Required. The parent resource of the issue model.
2108
+ # Corresponds to the JSON property `parent`
2109
+ # @return [String]
2110
+ attr_accessor :parent
2111
+
2112
+ def initialize(**args)
2113
+ update!(**args)
2114
+ end
2115
+
2116
+ # Update properties of this object
2117
+ def update!(**args)
2118
+ @create_new_model = args[:create_new_model] if args.key?(:create_new_model)
2119
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2120
+ @parent = args[:parent] if args.key?(:parent)
2121
+ end
2122
+ end
2123
+
2124
+ # Google Cloud Storage Object URI to get the issue model file from.
2125
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource
2126
+ include Google::Apis::Core::Hashable
2127
+
2128
+ # Required. Format: `gs:///`
2129
+ # Corresponds to the JSON property `objectUri`
2130
+ # @return [String]
2131
+ attr_accessor :object_uri
2132
+
2133
+ def initialize(**args)
2134
+ update!(**args)
2135
+ end
2136
+
2137
+ # Update properties of this object
2138
+ def update!(**args)
2139
+ @object_uri = args[:object_uri] if args.key?(:object_uri)
2140
+ end
2141
+ end
2142
+
2143
+ # Response from import issue model
2144
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
2145
+ include Google::Apis::Core::Hashable
2146
+
2147
+ def initialize(**args)
2148
+ update!(**args)
2149
+ end
2150
+
2151
+ # Update properties of this object
2152
+ def update!(**args)
2153
+ end
2154
+ end
2155
+
1971
2156
  # The metadata for an IngestConversations operation.
1972
2157
  class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
1973
2158
  include Google::Apis::Core::Hashable
@@ -2149,6 +2334,21 @@ module Google
2149
2334
  # @return [String]
2150
2335
  attr_accessor :bucket_uri
2151
2336
 
2337
+ # Optional. Custom keys to extract as conversation labels from metadata files in
2338
+ # `metadata_bucket_uri`. Keys not included in this field will be ignored. Note
2339
+ # that there is a limit of 20 labels per conversation.
2340
+ # Corresponds to the JSON property `customMetadataKeys`
2341
+ # @return [Array<String>]
2342
+ attr_accessor :custom_metadata_keys
2343
+
2344
+ # Optional. The Cloud Storage path to the source object metadata. Note that: [1]
2345
+ # metadata files are expected to be in JSON format [2] metadata and source
2346
+ # objects must be in separate buckets [3] a source object's metadata object must
2347
+ # share the same name to be properly ingested
2348
+ # Corresponds to the JSON property `metadataBucketUri`
2349
+ # @return [String]
2350
+ attr_accessor :metadata_bucket_uri
2351
+
2152
2352
  def initialize(**args)
2153
2353
  update!(**args)
2154
2354
  end
@@ -2157,6 +2357,8 @@ module Google
2157
2357
  def update!(**args)
2158
2358
  @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
2159
2359
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
2360
+ @custom_metadata_keys = args[:custom_metadata_keys] if args.key?(:custom_metadata_keys)
2361
+ @metadata_bucket_uri = args[:metadata_bucket_uri] if args.key?(:metadata_bucket_uri)
2160
2362
  end
2161
2363
  end
2162
2364
 
@@ -5137,6 +5339,94 @@ module Google
5137
5339
  end
5138
5340
  end
5139
5341
 
5342
+ # Metadata used for export issue model.
5343
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata
5344
+ include Google::Apis::Core::Hashable
5345
+
5346
+ # The time the operation was created.
5347
+ # Corresponds to the JSON property `createTime`
5348
+ # @return [String]
5349
+ attr_accessor :create_time
5350
+
5351
+ # The time the operation finished running.
5352
+ # Corresponds to the JSON property `endTime`
5353
+ # @return [String]
5354
+ attr_accessor :end_time
5355
+
5356
+ # Request to export an issue model.
5357
+ # Corresponds to the JSON property `request`
5358
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest]
5359
+ attr_accessor :request
5360
+
5361
+ def initialize(**args)
5362
+ update!(**args)
5363
+ end
5364
+
5365
+ # Update properties of this object
5366
+ def update!(**args)
5367
+ @create_time = args[:create_time] if args.key?(:create_time)
5368
+ @end_time = args[:end_time] if args.key?(:end_time)
5369
+ @request = args[:request] if args.key?(:request)
5370
+ end
5371
+ end
5372
+
5373
+ # Request to export an issue model.
5374
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest
5375
+ include Google::Apis::Core::Hashable
5376
+
5377
+ # Google Cloud Storage Object URI to save the issue model to.
5378
+ # Corresponds to the JSON property `gcsDestination`
5379
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination]
5380
+ attr_accessor :gcs_destination
5381
+
5382
+ # Required. The issue model to export
5383
+ # Corresponds to the JSON property `name`
5384
+ # @return [String]
5385
+ attr_accessor :name
5386
+
5387
+ def initialize(**args)
5388
+ update!(**args)
5389
+ end
5390
+
5391
+ # Update properties of this object
5392
+ def update!(**args)
5393
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
5394
+ @name = args[:name] if args.key?(:name)
5395
+ end
5396
+ end
5397
+
5398
+ # Google Cloud Storage Object URI to save the issue model to.
5399
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination
5400
+ include Google::Apis::Core::Hashable
5401
+
5402
+ # Required. Format: `gs:///`
5403
+ # Corresponds to the JSON property `objectUri`
5404
+ # @return [String]
5405
+ attr_accessor :object_uri
5406
+
5407
+ def initialize(**args)
5408
+ update!(**args)
5409
+ end
5410
+
5411
+ # Update properties of this object
5412
+ def update!(**args)
5413
+ @object_uri = args[:object_uri] if args.key?(:object_uri)
5414
+ end
5415
+ end
5416
+
5417
+ # Response from export issue model
5418
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse
5419
+ include Google::Apis::Core::Hashable
5420
+
5421
+ def initialize(**args)
5422
+ update!(**args)
5423
+ end
5424
+
5425
+ # Update properties of this object
5426
+ def update!(**args)
5427
+ end
5428
+ end
5429
+
5140
5430
  # Agent Assist frequently-asked-question answer data.
5141
5431
  class GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData
5142
5432
  include Google::Apis::Core::Hashable
@@ -5230,6 +5520,103 @@ module Google
5230
5520
  end
5231
5521
  end
5232
5522
 
5523
+ # Metadata used for import issue model.
5524
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata
5525
+ include Google::Apis::Core::Hashable
5526
+
5527
+ # The time the operation was created.
5528
+ # Corresponds to the JSON property `createTime`
5529
+ # @return [String]
5530
+ attr_accessor :create_time
5531
+
5532
+ # The time the operation finished running.
5533
+ # Corresponds to the JSON property `endTime`
5534
+ # @return [String]
5535
+ attr_accessor :end_time
5536
+
5537
+ # Request to import an issue model.
5538
+ # Corresponds to the JSON property `request`
5539
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest]
5540
+ attr_accessor :request
5541
+
5542
+ def initialize(**args)
5543
+ update!(**args)
5544
+ end
5545
+
5546
+ # Update properties of this object
5547
+ def update!(**args)
5548
+ @create_time = args[:create_time] if args.key?(:create_time)
5549
+ @end_time = args[:end_time] if args.key?(:end_time)
5550
+ @request = args[:request] if args.key?(:request)
5551
+ end
5552
+ end
5553
+
5554
+ # Request to import an issue model.
5555
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest
5556
+ include Google::Apis::Core::Hashable
5557
+
5558
+ # Optional. If set to true, will create a new issue model from the imported file
5559
+ # with randomly generated IDs for the issue model and corresponding issues.
5560
+ # Otherwise, replaces an existing model with the same ID as the file.
5561
+ # Corresponds to the JSON property `createNewModel`
5562
+ # @return [Boolean]
5563
+ attr_accessor :create_new_model
5564
+ alias_method :create_new_model?, :create_new_model
5565
+
5566
+ # Google Cloud Storage Object URI to get the issue model file from.
5567
+ # Corresponds to the JSON property `gcsSource`
5568
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource]
5569
+ attr_accessor :gcs_source
5570
+
5571
+ # Required. The parent resource of the issue model.
5572
+ # Corresponds to the JSON property `parent`
5573
+ # @return [String]
5574
+ attr_accessor :parent
5575
+
5576
+ def initialize(**args)
5577
+ update!(**args)
5578
+ end
5579
+
5580
+ # Update properties of this object
5581
+ def update!(**args)
5582
+ @create_new_model = args[:create_new_model] if args.key?(:create_new_model)
5583
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
5584
+ @parent = args[:parent] if args.key?(:parent)
5585
+ end
5586
+ end
5587
+
5588
+ # Google Cloud Storage Object URI to get the issue model file from.
5589
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource
5590
+ include Google::Apis::Core::Hashable
5591
+
5592
+ # Required. Format: `gs:///`
5593
+ # Corresponds to the JSON property `objectUri`
5594
+ # @return [String]
5595
+ attr_accessor :object_uri
5596
+
5597
+ def initialize(**args)
5598
+ update!(**args)
5599
+ end
5600
+
5601
+ # Update properties of this object
5602
+ def update!(**args)
5603
+ @object_uri = args[:object_uri] if args.key?(:object_uri)
5604
+ end
5605
+ end
5606
+
5607
+ # Response from import issue model
5608
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
5609
+ include Google::Apis::Core::Hashable
5610
+
5611
+ def initialize(**args)
5612
+ update!(**args)
5613
+ end
5614
+
5615
+ # Update properties of this object
5616
+ def update!(**args)
5617
+ end
5618
+ end
5619
+
5233
5620
  # The metadata for an IngestConversations operation.
5234
5621
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
5235
5622
  include Google::Apis::Core::Hashable
@@ -5411,6 +5798,21 @@ module Google
5411
5798
  # @return [String]
5412
5799
  attr_accessor :bucket_uri
5413
5800
 
5801
+ # Optional. Custom keys to extract as conversation labels from metadata files in
5802
+ # `metadata_bucket_uri`. Keys not included in this field will be ignored. Note
5803
+ # that there is a limit of 20 labels per conversation.
5804
+ # Corresponds to the JSON property `customMetadataKeys`
5805
+ # @return [Array<String>]
5806
+ attr_accessor :custom_metadata_keys
5807
+
5808
+ # Optional. The Cloud Storage path to the source object metadata. Note that: [1]
5809
+ # metadata files are expected to be in JSON format [2] metadata and source
5810
+ # objects must be in separate buckets [3] a source object's metadata object must
5811
+ # share the same name to be properly ingested
5812
+ # Corresponds to the JSON property `metadataBucketUri`
5813
+ # @return [String]
5814
+ attr_accessor :metadata_bucket_uri
5815
+
5414
5816
  def initialize(**args)
5415
5817
  update!(**args)
5416
5818
  end
@@ -5419,6 +5821,8 @@ module Google
5419
5821
  def update!(**args)
5420
5822
  @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type)
5421
5823
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
5824
+ @custom_metadata_keys = args[:custom_metadata_keys] if args.key?(:custom_metadata_keys)
5825
+ @metadata_bucket_uri = args[:metadata_bucket_uri] if args.key?(:metadata_bucket_uri)
5422
5826
  end
5423
5827
  end
5424
5828
 
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240115"
25
+ REVISION = "20240206"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,30 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class GoogleCloudContactcenterinsightsV1FaqAnswerData
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -334,6 +358,30 @@ module Google
334
358
  include Google::Apis::Core::JsonObjectSupport
335
359
  end
336
360
 
361
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
337
385
  class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
338
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
387
 
@@ -862,6 +910,30 @@ module Google
862
910
  include Google::Apis::Core::JsonObjectSupport
863
911
  end
864
912
 
913
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
865
937
  class GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData
866
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
939
 
@@ -880,6 +952,30 @@ module Google
880
952
  include Google::Apis::Core::JsonObjectSupport
881
953
  end
882
954
 
955
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
883
979
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
884
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
981
 
@@ -1620,6 +1716,38 @@ module Google
1620
1716
  end
1621
1717
  end
1622
1718
 
1719
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata
1720
+ # @private
1721
+ class Representation < Google::Apis::Core::JsonRepresentation
1722
+ property :create_time, as: 'createTime'
1723
+ property :end_time, as: 'endTime'
1724
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest::Representation
1725
+
1726
+ end
1727
+ end
1728
+
1729
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
1730
+ # @private
1731
+ class Representation < Google::Apis::Core::JsonRepresentation
1732
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination::Representation
1733
+
1734
+ property :name, as: 'name'
1735
+ end
1736
+ end
1737
+
1738
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination
1739
+ # @private
1740
+ class Representation < Google::Apis::Core::JsonRepresentation
1741
+ property :object_uri, as: 'objectUri'
1742
+ end
1743
+ end
1744
+
1745
+ class GoogleCloudContactcenterinsightsV1ExportIssueModelResponse
1746
+ # @private
1747
+ class Representation < Google::Apis::Core::JsonRepresentation
1748
+ end
1749
+ end
1750
+
1623
1751
  class GoogleCloudContactcenterinsightsV1FaqAnswerData
1624
1752
  # @private
1625
1753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1646,6 +1774,39 @@ module Google
1646
1774
  end
1647
1775
  end
1648
1776
 
1777
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata
1778
+ # @private
1779
+ class Representation < Google::Apis::Core::JsonRepresentation
1780
+ property :create_time, as: 'createTime'
1781
+ property :end_time, as: 'endTime'
1782
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest::Representation
1783
+
1784
+ end
1785
+ end
1786
+
1787
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ property :create_new_model, as: 'createNewModel'
1791
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource::Representation
1792
+
1793
+ property :parent, as: 'parent'
1794
+ end
1795
+ end
1796
+
1797
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource
1798
+ # @private
1799
+ class Representation < Google::Apis::Core::JsonRepresentation
1800
+ property :object_uri, as: 'objectUri'
1801
+ end
1802
+ end
1803
+
1804
+ class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ end
1808
+ end
1809
+
1649
1810
  class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
1650
1811
  # @private
1651
1812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1701,6 +1862,8 @@ module Google
1701
1862
  class Representation < Google::Apis::Core::JsonRepresentation
1702
1863
  property :bucket_object_type, as: 'bucketObjectType'
1703
1864
  property :bucket_uri, as: 'bucketUri'
1865
+ collection :custom_metadata_keys, as: 'customMetadataKeys'
1866
+ property :metadata_bucket_uri, as: 'metadataBucketUri'
1704
1867
  end
1705
1868
  end
1706
1869
 
@@ -2578,6 +2741,38 @@ module Google
2578
2741
  end
2579
2742
  end
2580
2743
 
2744
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata
2745
+ # @private
2746
+ class Representation < Google::Apis::Core::JsonRepresentation
2747
+ property :create_time, as: 'createTime'
2748
+ property :end_time, as: 'endTime'
2749
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest::Representation
2750
+
2751
+ end
2752
+ end
2753
+
2754
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest
2755
+ # @private
2756
+ class Representation < Google::Apis::Core::JsonRepresentation
2757
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination::Representation
2758
+
2759
+ property :name, as: 'name'
2760
+ end
2761
+ end
2762
+
2763
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination
2764
+ # @private
2765
+ class Representation < Google::Apis::Core::JsonRepresentation
2766
+ property :object_uri, as: 'objectUri'
2767
+ end
2768
+ end
2769
+
2770
+ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse
2771
+ # @private
2772
+ class Representation < Google::Apis::Core::JsonRepresentation
2773
+ end
2774
+ end
2775
+
2581
2776
  class GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData
2582
2777
  # @private
2583
2778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2604,6 +2799,39 @@ module Google
2604
2799
  end
2605
2800
  end
2606
2801
 
2802
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata
2803
+ # @private
2804
+ class Representation < Google::Apis::Core::JsonRepresentation
2805
+ property :create_time, as: 'createTime'
2806
+ property :end_time, as: 'endTime'
2807
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest::Representation
2808
+
2809
+ end
2810
+ end
2811
+
2812
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest
2813
+ # @private
2814
+ class Representation < Google::Apis::Core::JsonRepresentation
2815
+ property :create_new_model, as: 'createNewModel'
2816
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource::Representation
2817
+
2818
+ property :parent, as: 'parent'
2819
+ end
2820
+ end
2821
+
2822
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource
2823
+ # @private
2824
+ class Representation < Google::Apis::Core::JsonRepresentation
2825
+ property :object_uri, as: 'objectUri'
2826
+ end
2827
+ end
2828
+
2829
+ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
2830
+ # @private
2831
+ class Representation < Google::Apis::Core::JsonRepresentation
2832
+ end
2833
+ end
2834
+
2607
2835
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
2608
2836
  # @private
2609
2837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2659,6 +2887,8 @@ module Google
2659
2887
  class Representation < Google::Apis::Core::JsonRepresentation
2660
2888
  property :bucket_object_type, as: 'bucketObjectType'
2661
2889
  property :bucket_uri, as: 'bucketUri'
2890
+ collection :custom_metadata_keys, as: 'customMetadataKeys'
2891
+ property :metadata_bucket_uri, as: 'metadataBucketUri'
2662
2892
  end
2663
2893
  end
2664
2894
 
@@ -364,6 +364,13 @@ module Google
364
364
  # @param [String] filter
365
365
  # A filter to reduce results to a specific subset. Useful for querying
366
366
  # conversations with specific properties.
367
+ # @param [String] order_by
368
+ # Optional. The attribute by which to order conversations in the response. If
369
+ # empty, conversations will be ordered by descending creation time. Supported
370
+ # values are one of the following: * create_time * duration * turn_count *
371
+ # latest_analysis The default sort order is ascending. To specify order, append `
372
+ # asc` or `desc`, i.e. `create_time desc`. See https://google.aip.dev/132#
373
+ # ordering for more details.
367
374
  # @param [Fixnum] page_size
368
375
  # The maximum number of conversations to return in the response. A valid page
369
376
  # size ranges from 0 to 1,000 inclusive. If the page size is zero or unspecified,
@@ -392,12 +399,13 @@ module Google
392
399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
393
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
394
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
395
- def list_project_location_conversations(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
402
+ def list_project_location_conversations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
396
403
  command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
397
404
  command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
398
405
  command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
399
406
  command.params['parent'] = parent unless parent.nil?
400
407
  command.query['filter'] = filter unless filter.nil?
408
+ command.query['orderBy'] = order_by unless order_by.nil?
401
409
  command.query['pageSize'] = page_size unless page_size.nil?
402
410
  command.query['pageToken'] = page_token unless page_token.nil?
403
411
  command.query['view'] = view unless view.nil?
@@ -776,6 +784,39 @@ module Google
776
784
  execute_or_queue_command(command, &block)
777
785
  end
778
786
 
787
+ # Exports an issue model to the provided destination.
788
+ # @param [String] name
789
+ # Required. The issue model to export
790
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest] google_cloud_contactcenterinsights_v1_export_issue_model_request_object
791
+ # @param [String] fields
792
+ # Selector specifying which fields to include in a partial response.
793
+ # @param [String] quota_user
794
+ # Available to use for quota purposes for server-side applications. Can be any
795
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
796
+ # @param [Google::Apis::RequestOptions] options
797
+ # Request-specific options
798
+ #
799
+ # @yield [result, err] Result & error if block supplied
800
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
801
+ # @yieldparam err [StandardError] error object if request failed
802
+ #
803
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
804
+ #
805
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
806
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
807
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
808
+ def export_project_location_issue_model(name, google_cloud_contactcenterinsights_v1_export_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
809
+ command = make_simple_command(:post, 'v1/{+name}:export', options)
810
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest::Representation
811
+ command.request_object = google_cloud_contactcenterinsights_v1_export_issue_model_request_object
812
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
813
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
814
+ command.params['name'] = name unless name.nil?
815
+ command.query['fields'] = fields unless fields.nil?
816
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
817
+ execute_or_queue_command(command, &block)
818
+ end
819
+
779
820
  # Gets an issue model.
780
821
  # @param [String] name
781
822
  # Required. The name of the issue model to get.
@@ -806,6 +847,39 @@ module Google
806
847
  execute_or_queue_command(command, &block)
807
848
  end
808
849
 
850
+ # Imports an issue model from a Cloud Storage bucket.
851
+ # @param [String] parent
852
+ # Required. The parent resource of the issue model.
853
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest] google_cloud_contactcenterinsights_v1_import_issue_model_request_object
854
+ # @param [String] fields
855
+ # Selector specifying which fields to include in a partial response.
856
+ # @param [String] quota_user
857
+ # Available to use for quota purposes for server-side applications. Can be any
858
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
859
+ # @param [Google::Apis::RequestOptions] options
860
+ # Request-specific options
861
+ #
862
+ # @yield [result, err] Result & error if block supplied
863
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
864
+ # @yieldparam err [StandardError] error object if request failed
865
+ #
866
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
867
+ #
868
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
869
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
870
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
871
+ def import_project_location_issue_model(parent, google_cloud_contactcenterinsights_v1_import_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
872
+ command = make_simple_command(:post, 'v1/{+parent}/issueModels:import', options)
873
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest::Representation
874
+ command.request_object = google_cloud_contactcenterinsights_v1_import_issue_model_request_object
875
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
876
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
877
+ command.params['parent'] = parent unless parent.nil?
878
+ command.query['fields'] = fields unless fields.nil?
879
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
880
+ execute_or_queue_command(command, &block)
881
+ end
882
+
809
883
  # Lists issue models.
810
884
  # @param [String] parent
811
885
  # Required. The parent resource of the issue model.
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.37.0
4
+ version: 0.38.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: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-11 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.38.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: []