google-apis-contactcenterinsights_v1 0.7.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +91 -3
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +3 -3
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +35 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +173 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec4946f956234b546fd01163831f4217f56f94d972c0418625864bb5fea3f439
|
4
|
+
data.tar.gz: 38da80ad08261e888eab4d83cdd4601cb9e884811a0404617f1d670d4d8b539e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de9f84ff8e6d364fc7837fb79e3c4ca91a6d97ae68b7652ab5399511c66bc088554dc1f7890b7b54bb268baaeff05b3e2758244720d98afb871edd9ddebdcda0
|
7
|
+
data.tar.gz: 81ef99f5cb68adae1632c83a084ec3d194b15e0c0775eadc3c95b5366054c03399b5297ce7864254df423e4a50c226853405e13bcad7621557d9a8a8e2ba83a3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-contactcenterinsights_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2022-03-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220319
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.9.0 (2022-01-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220103
|
11
|
+
|
12
|
+
### v0.8.0 (2021-12-07)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211203
|
15
|
+
|
3
16
|
### v0.7.0 (2021-11-10)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211105
|
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.
|
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.
|
@@ -536,6 +536,11 @@ module Google
|
|
536
536
|
# @return [String]
|
537
537
|
attr_accessor :name
|
538
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
|
+
|
539
544
|
# Output only. The annotations that were generated during the customer and agent
|
540
545
|
# interaction.
|
541
546
|
# Corresponds to the JSON property `runtimeAnnotations`
|
@@ -586,6 +591,7 @@ module Google
|
|
586
591
|
@latest_analysis = args[:latest_analysis] if args.key?(:latest_analysis)
|
587
592
|
@medium = args[:medium] if args.key?(:medium)
|
588
593
|
@name = args[:name] if args.key?(:name)
|
594
|
+
@obfuscated_user_id = args[:obfuscated_user_id] if args.key?(:obfuscated_user_id)
|
589
595
|
@runtime_annotations = args[:runtime_annotations] if args.key?(:runtime_annotations)
|
590
596
|
@start_time = args[:start_time] if args.key?(:start_time)
|
591
597
|
@transcript = args[:transcript] if args.key?(:transcript)
|
@@ -1310,6 +1316,11 @@ module Google
|
|
1310
1316
|
# @return [String]
|
1311
1317
|
attr_accessor :parent
|
1312
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
|
+
|
1313
1324
|
def initialize(**args)
|
1314
1325
|
update!(**args)
|
1315
1326
|
end
|
@@ -1320,6 +1331,7 @@ module Google
|
|
1320
1331
|
@filter = args[:filter] if args.key?(:filter)
|
1321
1332
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
1322
1333
|
@parent = args[:parent] if args.key?(:parent)
|
1334
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
1323
1335
|
end
|
1324
1336
|
end
|
1325
1337
|
|
@@ -1755,7 +1767,8 @@ module Google
|
|
1755
1767
|
class GoogleCloudContactcenterinsightsV1IssueModelResult
|
1756
1768
|
include Google::Apis::Core::Hashable
|
1757
1769
|
|
1758
|
-
# Issue model that generates the result.
|
1770
|
+
# Issue model that generates the result. Format: projects/`project`/locations/`
|
1771
|
+
# location`/issueModels/`issue_model`
|
1759
1772
|
# Corresponds to the JSON property `issueModel`
|
1760
1773
|
# @return [String]
|
1761
1774
|
attr_accessor :issue_model
|
@@ -1893,6 +1906,32 @@ module Google
|
|
1893
1906
|
end
|
1894
1907
|
end
|
1895
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
|
+
|
1896
1935
|
# The data for a matched phrase matcher. Represents information identifying a
|
1897
1936
|
# phrase matcher for a given match.
|
1898
1937
|
class GoogleCloudContactcenterinsightsV1PhraseMatchData
|
@@ -2432,6 +2471,50 @@ module Google
|
|
2432
2471
|
end
|
2433
2472
|
end
|
2434
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
|
+
|
2435
2518
|
# Metadata for a create analysis operation.
|
2436
2519
|
class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
|
2437
2520
|
include Google::Apis::Core::Hashable
|
@@ -2697,6 +2780,11 @@ module Google
|
|
2697
2780
|
# @return [String]
|
2698
2781
|
attr_accessor :parent
|
2699
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
|
+
|
2700
2788
|
def initialize(**args)
|
2701
2789
|
update!(**args)
|
2702
2790
|
end
|
@@ -2707,6 +2795,7 @@ module Google
|
|
2707
2795
|
@filter = args[:filter] if args.key?(:filter)
|
2708
2796
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
2709
2797
|
@parent = args[:parent] if args.key?(:parent)
|
2798
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2710
2799
|
end
|
2711
2800
|
end
|
2712
2801
|
|
@@ -3066,8 +3155,7 @@ module Google
|
|
3066
3155
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
3067
3156
|
# messages in your APIs. A typical example is to use it as the request or the
|
3068
3157
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
3069
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
3070
|
-
# `Empty` is empty JSON object ````.
|
3158
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
3071
3159
|
class GoogleProtobufEmpty
|
3072
3160
|
include Google::Apis::Core::Hashable
|
3073
3161
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220319"
|
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
|
|
@@ -738,6 +750,7 @@ module Google
|
|
738
750
|
|
739
751
|
property :medium, as: 'medium'
|
740
752
|
property :name, as: 'name'
|
753
|
+
property :obfuscated_user_id, as: 'obfuscatedUserId'
|
741
754
|
collection :runtime_annotations, as: 'runtimeAnnotations', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation::Representation
|
742
755
|
|
743
756
|
property :start_time, as: 'startTime'
|
@@ -971,6 +984,7 @@ module Google
|
|
971
984
|
property :filter, as: 'filter'
|
972
985
|
property :kms_key, as: 'kmsKey'
|
973
986
|
property :parent, as: 'parent'
|
987
|
+
property :write_disposition, as: 'writeDisposition'
|
974
988
|
end
|
975
989
|
end
|
976
990
|
|
@@ -1150,6 +1164,15 @@ module Google
|
|
1150
1164
|
end
|
1151
1165
|
end
|
1152
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
|
+
|
1153
1176
|
class GoogleCloudContactcenterinsightsV1PhraseMatchData
|
1154
1177
|
# @private
|
1155
1178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1305,6 +1328,17 @@ module Google
|
|
1305
1328
|
end
|
1306
1329
|
end
|
1307
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
|
+
|
1308
1342
|
class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
|
1309
1343
|
# @private
|
1310
1344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1393,6 +1427,7 @@ module Google
|
|
1393
1427
|
property :filter, as: 'filter'
|
1394
1428
|
property :kms_key, as: 'kmsKey'
|
1395
1429
|
property :parent, as: 'parent'
|
1430
|
+
property :write_disposition, as: 'writeDisposition'
|
1396
1431
|
end
|
1397
1432
|
end
|
1398
1433
|
|
@@ -158,7 +158,7 @@ module Google
|
|
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
160
|
# ID will be used. This value should be 4-64 characters and must match the
|
161
|
-
# regular expression
|
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
|
@@ -1158,6 +1158,178 @@ module Google
|
|
1158
1158
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1159
1159
|
execute_or_queue_command(command, &block)
|
1160
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
|
1161
1333
|
|
1162
1334
|
protected
|
1163
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.
|
4
|
+
version: 0.10.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:
|
11
|
+
date: 2022-03-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.10.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Contact Center AI Insights API V1
|