google-apis-contactcenterinsights_v1 0.5.0 → 0.9.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: 9e71ed80b945bcfd1c9086569042744d795f9c3dce5d0e03c0246e8028f0cf36
4
- data.tar.gz: d14cb6cafdacdceb099377d94f07dd485376246fe5ff9188c737aea60ea76253
3
+ metadata.gz: e705d910d0ce7de044c642f660a12fdd6f321a1697d56cf9a06216c92635186a
4
+ data.tar.gz: f83010408e61cd09669ae84835961d8d01de4dba8729ceb2d67ae6627ac3997f
5
5
  SHA512:
6
- metadata.gz: 35be517e30d5d30e23e99f524c88e855e8d3496262b4366277a5cb12963aebadf5858a3a3d3039e276b7675ec7955882864a2e1417a95aa0c8d975910b957a33
7
- data.tar.gz: 2101d7118e93b823da3279a9f881e6e37747604f91be18d4a423d8aaac1aeee7b1e8e82cb6a1c11d6b39d43b4883e489fefef7652bc058687b5611e593337169
6
+ metadata.gz: 0e2549554042f129ffa6627ff9e267abc520900548b33f34806961cad78e6cf04d9a01c7e102705c1ce589cf022781bfb535532b193f8b9def416d6b602e9ae5
7
+ data.tar.gz: 72b375dc81606bbd5482314067a661ab3f4c3eeb58baba1f2f987a8b46054b1f7d2e03979a458ce51d24b4385119fe8a5e9069df327e47328c2adcdd6fed764f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.9.0 (2022-01-05)
4
+
5
+ * Regenerated from discovery document revision 20220103
6
+
7
+ ### v0.8.0 (2021-12-07)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.7.0 (2021-11-10)
12
+
13
+ * Regenerated from discovery document revision 20211105
14
+
15
+ ### v0.6.0 (2021-11-02)
16
+
17
+ * Regenerated from discovery document revision 20211029
18
+
3
19
  ### v0.5.0 (2021-10-20)
4
20
 
5
21
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/contactcenterinsights_v1"
51
51
  client = Google::Apis::ContactcenterinsightsV1::ContactcenterinsightsService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -307,6 +307,13 @@ module Google
307
307
  # @return [Hash<String,Fixnum>]
308
308
  attr_accessor :issue_matches
309
309
 
310
+ # A map associating each issue resource name with its respective number of
311
+ # matches in the set of conversations. Key has the format: `projects//locations//
312
+ # issueModels//issues/`
313
+ # Corresponds to the JSON property `issueMatchesStats`
314
+ # @return [Hash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats>]
315
+ attr_accessor :issue_matches_stats
316
+
310
317
  # A map associating each smart highlighter display name with its respective
311
318
  # number of matches in the set of conversations.
312
319
  # Corresponds to the JSON property `smartHighlighterMatches`
@@ -325,6 +332,7 @@ module Google
325
332
  @conversation_count_time_series = args[:conversation_count_time_series] if args.key?(:conversation_count_time_series)
326
333
  @custom_highlighter_matches = args[:custom_highlighter_matches] if args.key?(:custom_highlighter_matches)
327
334
  @issue_matches = args[:issue_matches] if args.key?(:issue_matches)
335
+ @issue_matches_stats = args[:issue_matches_stats] if args.key?(:issue_matches_stats)
328
336
  @smart_highlighter_matches = args[:smart_highlighter_matches] if args.key?(:smart_highlighter_matches)
329
337
  end
330
338
  end
@@ -528,6 +536,11 @@ module Google
528
536
  # @return [String]
529
537
  attr_accessor :name
530
538
 
539
+ # Obfuscated user ID which the customer sent to us.
540
+ # Corresponds to the JSON property `obfuscatedUserId`
541
+ # @return [String]
542
+ attr_accessor :obfuscated_user_id
543
+
531
544
  # Output only. The annotations that were generated during the customer and agent
532
545
  # interaction.
533
546
  # Corresponds to the JSON property `runtimeAnnotations`
@@ -578,6 +591,7 @@ module Google
578
591
  @latest_analysis = args[:latest_analysis] if args.key?(:latest_analysis)
579
592
  @medium = args[:medium] if args.key?(:medium)
580
593
  @name = args[:name] if args.key?(:name)
594
+ @obfuscated_user_id = args[:obfuscated_user_id] if args.key?(:obfuscated_user_id)
581
595
  @runtime_annotations = args[:runtime_annotations] if args.key?(:runtime_annotations)
582
596
  @start_time = args[:start_time] if args.key?(:start_time)
583
597
  @transcript = args[:transcript] if args.key?(:transcript)
@@ -1302,6 +1316,11 @@ module Google
1302
1316
  # @return [String]
1303
1317
  attr_accessor :parent
1304
1318
 
1319
+ # Options for what to do if the destination table already exists.
1320
+ # Corresponds to the JSON property `writeDisposition`
1321
+ # @return [String]
1322
+ attr_accessor :write_disposition
1323
+
1305
1324
  def initialize(**args)
1306
1325
  update!(**args)
1307
1326
  end
@@ -1312,6 +1331,7 @@ module Google
1312
1331
  @filter = args[:filter] if args.key?(:filter)
1313
1332
  @kms_key = args[:kms_key] if args.key?(:kms_key)
1314
1333
  @parent = args[:parent] if args.key?(:parent)
1334
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1315
1335
  end
1316
1336
  end
1317
1337
 
@@ -1715,6 +1735,11 @@ module Google
1715
1735
  class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
1716
1736
  include Google::Apis::Core::Hashable
1717
1737
 
1738
+ # Display name of the issue.
1739
+ # Corresponds to the JSON property `displayName`
1740
+ # @return [String]
1741
+ attr_accessor :display_name
1742
+
1718
1743
  # Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
1719
1744
  # issue_model`/issues/`issue`
1720
1745
  # Corresponds to the JSON property `issue`
@@ -1732,6 +1757,7 @@ module Google
1732
1757
 
1733
1758
  # Update properties of this object
1734
1759
  def update!(**args)
1760
+ @display_name = args[:display_name] if args.key?(:display_name)
1735
1761
  @issue = args[:issue] if args.key?(:issue)
1736
1762
  @labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
1737
1763
  end
@@ -1741,7 +1767,8 @@ module Google
1741
1767
  class GoogleCloudContactcenterinsightsV1IssueModelResult
1742
1768
  include Google::Apis::Core::Hashable
1743
1769
 
1744
- # Issue model that generates the result.
1770
+ # Issue model that generates the result. Format: projects/`project`/locations/`
1771
+ # location`/issueModels/`issue_model`
1745
1772
  # Corresponds to the JSON property `issueModel`
1746
1773
  # @return [String]
1747
1774
  attr_accessor :issue_model
@@ -1879,6 +1906,32 @@ module Google
1879
1906
  end
1880
1907
  end
1881
1908
 
1909
+ # The response of listing views.
1910
+ class GoogleCloudContactcenterinsightsV1ListViewsResponse
1911
+ include Google::Apis::Core::Hashable
1912
+
1913
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1914
+ # field is omitted, there are no subsequent pages.
1915
+ # Corresponds to the JSON property `nextPageToken`
1916
+ # @return [String]
1917
+ attr_accessor :next_page_token
1918
+
1919
+ # The views that match the request.
1920
+ # Corresponds to the JSON property `views`
1921
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View>]
1922
+ attr_accessor :views
1923
+
1924
+ def initialize(**args)
1925
+ update!(**args)
1926
+ end
1927
+
1928
+ # Update properties of this object
1929
+ def update!(**args)
1930
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1931
+ @views = args[:views] if args.key?(:views)
1932
+ end
1933
+ end
1934
+
1882
1935
  # The data for a matched phrase matcher. Represents information identifying a
1883
1936
  # phrase matcher for a given match.
1884
1937
  class GoogleCloudContactcenterinsightsV1PhraseMatchData
@@ -2418,6 +2471,50 @@ module Google
2418
2471
  end
2419
2472
  end
2420
2473
 
2474
+ # The View resource.
2475
+ class GoogleCloudContactcenterinsightsV1View
2476
+ include Google::Apis::Core::Hashable
2477
+
2478
+ # Output only. The time at which this view was created.
2479
+ # Corresponds to the JSON property `createTime`
2480
+ # @return [String]
2481
+ attr_accessor :create_time
2482
+
2483
+ # The human-readable display name of the view.
2484
+ # Corresponds to the JSON property `displayName`
2485
+ # @return [String]
2486
+ attr_accessor :display_name
2487
+
2488
+ # Immutable. The resource name of the view. Format: projects/`project`/locations/
2489
+ # `location`/views/`view`
2490
+ # Corresponds to the JSON property `name`
2491
+ # @return [String]
2492
+ attr_accessor :name
2493
+
2494
+ # Output only. The most recent time at which the view was updated.
2495
+ # Corresponds to the JSON property `updateTime`
2496
+ # @return [String]
2497
+ attr_accessor :update_time
2498
+
2499
+ # String with specific view properties.
2500
+ # Corresponds to the JSON property `value`
2501
+ # @return [String]
2502
+ attr_accessor :value
2503
+
2504
+ def initialize(**args)
2505
+ update!(**args)
2506
+ end
2507
+
2508
+ # Update properties of this object
2509
+ def update!(**args)
2510
+ @create_time = args[:create_time] if args.key?(:create_time)
2511
+ @display_name = args[:display_name] if args.key?(:display_name)
2512
+ @name = args[:name] if args.key?(:name)
2513
+ @update_time = args[:update_time] if args.key?(:update_time)
2514
+ @value = args[:value] if args.key?(:value)
2515
+ end
2516
+ end
2517
+
2421
2518
  # Metadata for a create analysis operation.
2422
2519
  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
2423
2520
  include Google::Apis::Core::Hashable
@@ -2683,6 +2780,11 @@ module Google
2683
2780
  # @return [String]
2684
2781
  attr_accessor :parent
2685
2782
 
2783
+ # Options for what to do if the destination table already exists.
2784
+ # Corresponds to the JSON property `writeDisposition`
2785
+ # @return [String]
2786
+ attr_accessor :write_disposition
2787
+
2686
2788
  def initialize(**args)
2687
2789
  update!(**args)
2688
2790
  end
@@ -2693,6 +2795,7 @@ module Google
2693
2795
  @filter = args[:filter] if args.key?(:filter)
2694
2796
  @kms_key = args[:kms_key] if args.key?(:kms_key)
2695
2797
  @parent = args[:parent] if args.key?(:parent)
2798
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
2696
2799
  end
2697
2800
  end
2698
2801
 
@@ -2871,6 +2974,11 @@ module Google
2871
2974
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
2872
2975
  include Google::Apis::Core::Hashable
2873
2976
 
2977
+ # Display name of the issue.
2978
+ # Corresponds to the JSON property `displayName`
2979
+ # @return [String]
2980
+ attr_accessor :display_name
2981
+
2874
2982
  # Issue resource. Format: projects/`project`/locations/`location`/issueModels/`
2875
2983
  # issue_model`/issues/`issue`
2876
2984
  # Corresponds to the JSON property `issue`
@@ -2888,6 +2996,7 @@ module Google
2888
2996
 
2889
2997
  # Update properties of this object
2890
2998
  def update!(**args)
2999
+ @display_name = args[:display_name] if args.key?(:display_name)
2891
3000
  @issue = args[:issue] if args.key?(:issue)
2892
3001
  @labeled_conversations_count = args[:labeled_conversations_count] if args.key?(:labeled_conversations_count)
2893
3002
  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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211002"
25
+ REVISION = "20220103"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleCloudContactcenterinsightsV1ListViewsResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleCloudContactcenterinsightsV1PhraseMatchData
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -448,6 +454,12 @@ module Google
448
454
  include Google::Apis::Core::JsonObjectSupport
449
455
  end
450
456
 
457
+ class GoogleCloudContactcenterinsightsV1View
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
451
463
  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
452
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
465
 
@@ -671,6 +683,8 @@ module Google
671
683
 
672
684
  hash :custom_highlighter_matches, as: 'customHighlighterMatches'
673
685
  hash :issue_matches, as: 'issueMatches'
686
+ hash :issue_matches_stats, as: 'issueMatchesStats', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats::Representation
687
+
674
688
  hash :smart_highlighter_matches, as: 'smartHighlighterMatches'
675
689
  end
676
690
  end
@@ -736,6 +750,7 @@ module Google
736
750
 
737
751
  property :medium, as: 'medium'
738
752
  property :name, as: 'name'
753
+ property :obfuscated_user_id, as: 'obfuscatedUserId'
739
754
  collection :runtime_annotations, as: 'runtimeAnnotations', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation::Representation
740
755
 
741
756
  property :start_time, as: 'startTime'
@@ -969,6 +984,7 @@ module Google
969
984
  property :filter, as: 'filter'
970
985
  property :kms_key, as: 'kmsKey'
971
986
  property :parent, as: 'parent'
987
+ property :write_disposition, as: 'writeDisposition'
972
988
  end
973
989
  end
974
990
 
@@ -1090,6 +1106,7 @@ module Google
1090
1106
  class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
1091
1107
  # @private
1092
1108
  class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :display_name, as: 'displayName'
1093
1110
  property :issue, as: 'issue'
1094
1111
  property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
1095
1112
  end
@@ -1147,6 +1164,15 @@ module Google
1147
1164
  end
1148
1165
  end
1149
1166
 
1167
+ class GoogleCloudContactcenterinsightsV1ListViewsResponse
1168
+ # @private
1169
+ class Representation < Google::Apis::Core::JsonRepresentation
1170
+ property :next_page_token, as: 'nextPageToken'
1171
+ collection :views, as: 'views', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1172
+
1173
+ end
1174
+ end
1175
+
1150
1176
  class GoogleCloudContactcenterinsightsV1PhraseMatchData
1151
1177
  # @private
1152
1178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1302,6 +1328,17 @@ module Google
1302
1328
  end
1303
1329
  end
1304
1330
 
1331
+ class GoogleCloudContactcenterinsightsV1View
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ property :create_time, as: 'createTime'
1335
+ property :display_name, as: 'displayName'
1336
+ property :name, as: 'name'
1337
+ property :update_time, as: 'updateTime'
1338
+ property :value, as: 'value'
1339
+ end
1340
+ end
1341
+
1305
1342
  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
1306
1343
  # @private
1307
1344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1390,6 +1427,7 @@ module Google
1390
1427
  property :filter, as: 'filter'
1391
1428
  property :kms_key, as: 'kmsKey'
1392
1429
  property :parent, as: 'parent'
1430
+ property :write_disposition, as: 'writeDisposition'
1393
1431
  end
1394
1432
  end
1395
1433
 
@@ -1445,6 +1483,7 @@ module Google
1445
1483
  class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
1446
1484
  # @private
1447
1485
  class Representation < Google::Apis::Core::JsonRepresentation
1486
+ property :display_name, as: 'displayName'
1448
1487
  property :issue, as: 'issue'
1449
1488
  property :labeled_conversations_count, :numeric_string => true, as: 'labeledConversationsCount'
1450
1489
  end
@@ -157,8 +157,8 @@ module Google
157
157
  # @param [String] conversation_id
158
158
  # A unique ID for the new conversation. This ID will become the final component
159
159
  # of the conversation's resource name. If no ID is specified, a server-generated
160
- # ID will be used. This value should be 4-32 characters and must match the
161
- # regular expression /^[a-z0-9-]`4,32`$/. Valid characters are /a-z-/
160
+ # ID will be used. This value should be 4-64 characters and must match the
161
+ # regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
162
162
  # @param [String] fields
163
163
  # Selector specifying which fields to include in a partial response.
164
164
  # @param [String] quota_user
@@ -1121,6 +1121,215 @@ module Google
1121
1121
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1122
1122
  execute_or_queue_command(command, &block)
1123
1123
  end
1124
+
1125
+ # Updates a phrase matcher.
1126
+ # @param [String] name
1127
+ # The resource name of the phrase matcher. Format: projects/`project`/locations/`
1128
+ # location`/phraseMatchers/`phrase_matcher`
1129
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] google_cloud_contactcenterinsights_v1_phrase_matcher_object
1130
+ # @param [String] update_mask
1131
+ # The list of fields to be updated.
1132
+ # @param [String] fields
1133
+ # Selector specifying which fields to include in a partial response.
1134
+ # @param [String] quota_user
1135
+ # Available to use for quota purposes for server-side applications. Can be any
1136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1137
+ # @param [Google::Apis::RequestOptions] options
1138
+ # Request-specific options
1139
+ #
1140
+ # @yield [result, err] Result & error if block supplied
1141
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] parsed result object
1142
+ # @yieldparam err [StandardError] error object if request failed
1143
+ #
1144
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher]
1145
+ #
1146
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1147
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1148
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1149
+ def patch_project_location_phrase_matcher(name, google_cloud_contactcenterinsights_v1_phrase_matcher_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1150
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1151
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
1152
+ command.request_object = google_cloud_contactcenterinsights_v1_phrase_matcher_object
1153
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
1154
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher
1155
+ command.params['name'] = name unless name.nil?
1156
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1157
+ command.query['fields'] = fields unless fields.nil?
1158
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1159
+ execute_or_queue_command(command, &block)
1160
+ end
1161
+
1162
+ # Creates a view.
1163
+ # @param [String] parent
1164
+ # Required. The parent resource of the view. Required. The location to create a
1165
+ # view for. Format: `projects//locations/` or `projects//locations/`
1166
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] google_cloud_contactcenterinsights_v1_view_object
1167
+ # @param [String] fields
1168
+ # Selector specifying which fields to include in a partial response.
1169
+ # @param [String] quota_user
1170
+ # Available to use for quota purposes for server-side applications. Can be any
1171
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1172
+ # @param [Google::Apis::RequestOptions] options
1173
+ # Request-specific options
1174
+ #
1175
+ # @yield [result, err] Result & error if block supplied
1176
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
1177
+ # @yieldparam err [StandardError] error object if request failed
1178
+ #
1179
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
1180
+ #
1181
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1182
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1183
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1184
+ def create_project_location_view(parent, google_cloud_contactcenterinsights_v1_view_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1185
+ command = make_simple_command(:post, 'v1/{+parent}/views', options)
1186
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1187
+ command.request_object = google_cloud_contactcenterinsights_v1_view_object
1188
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1189
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
1190
+ command.params['parent'] = parent unless parent.nil?
1191
+ command.query['fields'] = fields unless fields.nil?
1192
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1193
+ execute_or_queue_command(command, &block)
1194
+ end
1195
+
1196
+ # Deletes a view.
1197
+ # @param [String] name
1198
+ # Required. The name of the view to delete.
1199
+ # @param [String] fields
1200
+ # Selector specifying which fields to include in a partial response.
1201
+ # @param [String] quota_user
1202
+ # Available to use for quota purposes for server-side applications. Can be any
1203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1204
+ # @param [Google::Apis::RequestOptions] options
1205
+ # Request-specific options
1206
+ #
1207
+ # @yield [result, err] Result & error if block supplied
1208
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
1209
+ # @yieldparam err [StandardError] error object if request failed
1210
+ #
1211
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
1212
+ #
1213
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1214
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1215
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1216
+ def delete_project_location_view(name, fields: nil, quota_user: nil, options: nil, &block)
1217
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1218
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
1219
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
1220
+ command.params['name'] = name unless name.nil?
1221
+ command.query['fields'] = fields unless fields.nil?
1222
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1223
+ execute_or_queue_command(command, &block)
1224
+ end
1225
+
1226
+ # Gets a view.
1227
+ # @param [String] name
1228
+ # Required. The name of the view to get.
1229
+ # @param [String] fields
1230
+ # Selector specifying which fields to include in a partial response.
1231
+ # @param [String] quota_user
1232
+ # Available to use for quota purposes for server-side applications. Can be any
1233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1234
+ # @param [Google::Apis::RequestOptions] options
1235
+ # Request-specific options
1236
+ #
1237
+ # @yield [result, err] Result & error if block supplied
1238
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
1239
+ # @yieldparam err [StandardError] error object if request failed
1240
+ #
1241
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
1242
+ #
1243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1246
+ def get_project_location_view(name, fields: nil, quota_user: nil, options: nil, &block)
1247
+ command = make_simple_command(:get, 'v1/{+name}', options)
1248
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1249
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
1250
+ command.params['name'] = name unless name.nil?
1251
+ command.query['fields'] = fields unless fields.nil?
1252
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1253
+ execute_or_queue_command(command, &block)
1254
+ end
1255
+
1256
+ # Lists views.
1257
+ # @param [String] parent
1258
+ # Required. The parent resource of the views.
1259
+ # @param [Fixnum] page_size
1260
+ # The maximum number of views to return in the response. If this value is zero,
1261
+ # the service will select a default size. A call may return fewer objects than
1262
+ # requested. A non-empty `next_page_token` in the response indicates that more
1263
+ # data is available.
1264
+ # @param [String] page_token
1265
+ # The value returned by the last `ListViewsResponse`; indicates that this is a
1266
+ # continuation of a prior `ListViews` call and the system should return the next
1267
+ # page of data.
1268
+ # @param [String] fields
1269
+ # Selector specifying which fields to include in a partial response.
1270
+ # @param [String] quota_user
1271
+ # Available to use for quota purposes for server-side applications. Can be any
1272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
+ # @param [Google::Apis::RequestOptions] options
1274
+ # Request-specific options
1275
+ #
1276
+ # @yield [result, err] Result & error if block supplied
1277
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse] parsed result object
1278
+ # @yieldparam err [StandardError] error object if request failed
1279
+ #
1280
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse]
1281
+ #
1282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
+ def list_project_location_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1286
+ command = make_simple_command(:get, 'v1/{+parent}/views', options)
1287
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse::Representation
1288
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse
1289
+ command.params['parent'] = parent unless parent.nil?
1290
+ command.query['pageSize'] = page_size unless page_size.nil?
1291
+ command.query['pageToken'] = page_token unless page_token.nil?
1292
+ command.query['fields'] = fields unless fields.nil?
1293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1294
+ execute_or_queue_command(command, &block)
1295
+ end
1296
+
1297
+ # Updates a view.
1298
+ # @param [String] name
1299
+ # Immutable. The resource name of the view. Format: projects/`project`/locations/
1300
+ # `location`/views/`view`
1301
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] google_cloud_contactcenterinsights_v1_view_object
1302
+ # @param [String] update_mask
1303
+ # The list of fields to be updated.
1304
+ # @param [String] fields
1305
+ # Selector specifying which fields to include in a partial response.
1306
+ # @param [String] quota_user
1307
+ # Available to use for quota purposes for server-side applications. Can be any
1308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1309
+ # @param [Google::Apis::RequestOptions] options
1310
+ # Request-specific options
1311
+ #
1312
+ # @yield [result, err] Result & error if block supplied
1313
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
1314
+ # @yieldparam err [StandardError] error object if request failed
1315
+ #
1316
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
1317
+ #
1318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1321
+ def patch_project_location_view(name, google_cloud_contactcenterinsights_v1_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1322
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1323
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1324
+ command.request_object = google_cloud_contactcenterinsights_v1_view_object
1325
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
1326
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
1327
+ command.params['name'] = name unless name.nil?
1328
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1329
+ command.query['fields'] = fields unless fields.nil?
1330
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1331
+ execute_or_queue_command(command, &block)
1332
+ end
1124
1333
 
1125
1334
  protected
1126
1335
 
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.5.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.9.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Contact Center AI Insights API V1