google-apis-discoveryengine_v1beta 0.12.0 → 0.13.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: 8b7509dba55794eacd73c4e603805c00200c9bc37c9f8b86c5c07a28909cb5f8
4
- data.tar.gz: dd1ba6ad1ffe64ec09851050f6c11d03ecb31d13912513db4cd790f7304beea6
3
+ metadata.gz: fd82e65a2718fe6cf2664b8baf510c457f310f541b0081abf0b5f1efacc88c05
4
+ data.tar.gz: 0f11a80e71d3d0e07dc8ff93540c281e9d79857301e29f3ed091c3e9e20ea9f0
5
5
  SHA512:
6
- metadata.gz: 0747d5c6f5b5d85390490356088fa66088d5644561843c7b65fa8fe6eec283d1977177dbec5ebb9f6a3ca86403babc1977ad660d571cb722bdcd255c1d5ea142
7
- data.tar.gz: 83835ba3f87763e0f43710af59b47ca40a7a7b431fa3cb3f5bdbc196001b74ebb6521cbf17e20843e4030e8da2fd1b7f83353ce21d1d86bfe3ad54d17dfb8628
6
+ metadata.gz: daf5b78901c7d9a4c9f62ce6d6b40e7185d0c04c89aadbc9fafcabb7fd9d59a976ce45cb9a65a6c8f228c6c264957eccbf704be06375c14ede267041c0108801
7
+ data.tar.gz: 228de354cd75fc3145de63358763e09470763453d2d6ddbd4f6ff15a0f19d9597cca024b01f19f307a8e1122e11f62badcde4fde285d10d52384712c1d39d2c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.13.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230504
6
+
3
7
  ### v0.12.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230408
@@ -442,6 +442,74 @@ module Google
442
442
  end
443
443
  end
444
444
 
445
+ # Metadata related to the progress of the PurgeDocuments operation. This will be
446
+ # returned by the google.longrunning.Operation.metadata field.
447
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
448
+ include Google::Apis::Core::Hashable
449
+
450
+ # Operation create time.
451
+ # Corresponds to the JSON property `createTime`
452
+ # @return [String]
453
+ attr_accessor :create_time
454
+
455
+ # Count of entries that encountered errors while processing.
456
+ # Corresponds to the JSON property `failureCount`
457
+ # @return [Fixnum]
458
+ attr_accessor :failure_count
459
+
460
+ # Count of entries that were deleted successfully.
461
+ # Corresponds to the JSON property `successCount`
462
+ # @return [Fixnum]
463
+ attr_accessor :success_count
464
+
465
+ # Operation last update time. If the operation is done, this is also the finish
466
+ # time.
467
+ # Corresponds to the JSON property `updateTime`
468
+ # @return [String]
469
+ attr_accessor :update_time
470
+
471
+ def initialize(**args)
472
+ update!(**args)
473
+ end
474
+
475
+ # Update properties of this object
476
+ def update!(**args)
477
+ @create_time = args[:create_time] if args.key?(:create_time)
478
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
479
+ @success_count = args[:success_count] if args.key?(:success_count)
480
+ @update_time = args[:update_time] if args.key?(:update_time)
481
+ end
482
+ end
483
+
484
+ # Response message for DocumentService.PurgeDocuments method. If the long
485
+ # running operation is successfully done, then this message is returned by the
486
+ # google.longrunning.Operations.response field.
487
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
488
+ include Google::Apis::Core::Hashable
489
+
490
+ # The total count of documents purged as a result of the operation.
491
+ # Corresponds to the JSON property `purgeCount`
492
+ # @return [Fixnum]
493
+ attr_accessor :purge_count
494
+
495
+ # A sample of document names that will be deleted. Only populated if `force` is
496
+ # set to false. A max of 100 names will be returned and the names are chosen at
497
+ # random.
498
+ # Corresponds to the JSON property `purgeSample`
499
+ # @return [Array<String>]
500
+ attr_accessor :purge_sample
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
509
+ @purge_sample = args[:purge_sample] if args.key?(:purge_sample)
510
+ end
511
+ end
512
+
445
513
  # Defines the structure and layout of a type of document data.
446
514
  class GoogleCloudDiscoveryengineV1alphaSchema
447
515
  include Google::Apis::Core::Hashable
@@ -577,16 +645,18 @@ module Google
577
645
  include Google::Apis::Core::Hashable
578
646
 
579
647
  # The numerical values of this custom attribute. For example, `[2.3, 15.4]` when
580
- # the key is "lengths_cm". Exactly one of text or numbers should be set.
581
- # Otherwise, an INVALID_ARGUMENT error is returned.
648
+ # the key is "lengths_cm". Exactly one of CustomAttribute.text or
649
+ # CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error
650
+ # is returned.
582
651
  # Corresponds to the JSON property `numbers`
583
652
  # @return [Array<Float>]
584
653
  attr_accessor :numbers
585
654
 
586
655
  # The textual values of this custom attribute. For example, `["yellow", "green"]`
587
- # when the key is "color". Empty string is not allowed. Otherwise, an
588
- # INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be
589
- # set. Otherwise, an INVALID_ARGUMENT error is returned.
656
+ # when the key is "color". Empty string is not allowed. Otherwise, an `
657
+ # INVALID_ARGUMENT` error is returned. Exactly one of CustomAttribute.text or
658
+ # CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error
659
+ # is returned.
590
660
  # Corresponds to the JSON property `text`
591
661
  # @return [Array<String>]
592
662
  attr_accessor :text
@@ -615,7 +685,7 @@ module Google
615
685
  attr_accessor :id
616
686
 
617
687
  # The JSON string representation of the document. It should conform to the
618
- # registered schema or an INVALID_ARGUMENT error is thrown.
688
+ # registered Schema.schema or an `INVALID_ARGUMENT` error is thrown.
619
689
  # Corresponds to the JSON property `jsonData`
620
690
  # @return [String]
621
691
  attr_accessor :json_data
@@ -641,7 +711,7 @@ module Google
641
711
  attr_accessor :schema_id
642
712
 
643
713
  # The structured JSON data for the document. It should conform to the registered
644
- # schema or an INVALID_ARGUMENT error is thrown.
714
+ # Schema.schema or an `INVALID_ARGUMENT` error is thrown.
645
715
  # Corresponds to the JSON property `structData`
646
716
  # @return [Hash<String,Object>]
647
717
  attr_accessor :struct_data
@@ -670,9 +740,9 @@ module Google
670
740
  # @return [String]
671
741
  attr_accessor :id
672
742
 
673
- # Required. The Document resource full name, of the form: projects/`project\_id`/
674
- # locations/`location`/collections/`collection\_id`/dataStores/`data\_store\_id`/
675
- # branches/`branch\_id`/documents/`document\_id`
743
+ # Required. The Document resource full name, of the form: `projects/`project_id`/
744
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id`/
745
+ # branches/`branch_id`/documents/`document_id``
676
746
  # Corresponds to the JSON property `name`
677
747
  # @return [String]
678
748
  attr_accessor :name
@@ -691,6 +761,12 @@ module Google
691
761
  # @return [Fixnum]
692
762
  attr_accessor :quantity
693
763
 
764
+ # Required. The Document url - only allowed for DataStores with content_config
765
+ # PUBLIC_WEBSITE.
766
+ # Corresponds to the JSON property `uri`
767
+ # @return [String]
768
+ attr_accessor :uri
769
+
694
770
  def initialize(**args)
695
771
  update!(**args)
696
772
  end
@@ -701,6 +777,7 @@ module Google
701
777
  @name = args[:name] if args.key?(:name)
702
778
  @promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
703
779
  @quantity = args[:quantity] if args.key?(:quantity)
780
+ @uri = args[:uri] if args.key?(:uri)
704
781
  end
705
782
  end
706
783
 
@@ -1066,7 +1143,7 @@ module Google
1066
1143
  attr_accessor :media_progress_duration
1067
1144
 
1068
1145
  # Media progress should be computed using only the media_progress_duration
1069
- # relative to the media total length. This value must be between [0, 1.0]
1146
+ # relative to the media total length. This value must be between `[0, 1.0]`
1070
1147
  # inclusive. If this is not a playback or the progress cannot be computed (e.g.
1071
1148
  # ongoing livestream), this field should be unset.
1072
1149
  # Corresponds to the JSON property `mediaProgressPercentage`
@@ -1178,19 +1255,115 @@ module Google
1178
1255
  end
1179
1256
  end
1180
1257
 
1258
+ # Metadata related to the progress of the PurgeDocuments operation. This will be
1259
+ # returned by the google.longrunning.Operation.metadata field.
1260
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
1261
+ include Google::Apis::Core::Hashable
1262
+
1263
+ # Operation create time.
1264
+ # Corresponds to the JSON property `createTime`
1265
+ # @return [String]
1266
+ attr_accessor :create_time
1267
+
1268
+ # Count of entries that encountered errors while processing.
1269
+ # Corresponds to the JSON property `failureCount`
1270
+ # @return [Fixnum]
1271
+ attr_accessor :failure_count
1272
+
1273
+ # Count of entries that were deleted successfully.
1274
+ # Corresponds to the JSON property `successCount`
1275
+ # @return [Fixnum]
1276
+ attr_accessor :success_count
1277
+
1278
+ # Operation last update time. If the operation is done, this is also the finish
1279
+ # time.
1280
+ # Corresponds to the JSON property `updateTime`
1281
+ # @return [String]
1282
+ attr_accessor :update_time
1283
+
1284
+ def initialize(**args)
1285
+ update!(**args)
1286
+ end
1287
+
1288
+ # Update properties of this object
1289
+ def update!(**args)
1290
+ @create_time = args[:create_time] if args.key?(:create_time)
1291
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
1292
+ @success_count = args[:success_count] if args.key?(:success_count)
1293
+ @update_time = args[:update_time] if args.key?(:update_time)
1294
+ end
1295
+ end
1296
+
1297
+ # Request message for DocumentService.PurgeDocuments method.
1298
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
1299
+ include Google::Apis::Core::Hashable
1300
+
1301
+ # Required. Filter matching documents to purge. Only currently supported value
1302
+ # is `*` (all items).
1303
+ # Corresponds to the JSON property `filter`
1304
+ # @return [String]
1305
+ attr_accessor :filter
1306
+
1307
+ # Actually performs the purge. If `force` is set to false, return the expected
1308
+ # purge count without deleting any documents.
1309
+ # Corresponds to the JSON property `force`
1310
+ # @return [Boolean]
1311
+ attr_accessor :force
1312
+ alias_method :force?, :force
1313
+
1314
+ def initialize(**args)
1315
+ update!(**args)
1316
+ end
1317
+
1318
+ # Update properties of this object
1319
+ def update!(**args)
1320
+ @filter = args[:filter] if args.key?(:filter)
1321
+ @force = args[:force] if args.key?(:force)
1322
+ end
1323
+ end
1324
+
1325
+ # Response message for DocumentService.PurgeDocuments method. If the long
1326
+ # running operation is successfully done, then this message is returned by the
1327
+ # google.longrunning.Operations.response field.
1328
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
1329
+ include Google::Apis::Core::Hashable
1330
+
1331
+ # The total count of documents purged as a result of the operation.
1332
+ # Corresponds to the JSON property `purgeCount`
1333
+ # @return [Fixnum]
1334
+ attr_accessor :purge_count
1335
+
1336
+ # A sample of document names that will be deleted. Only populated if `force` is
1337
+ # set to false. A max of 100 names will be returned and the names are chosen at
1338
+ # random.
1339
+ # Corresponds to the JSON property `purgeSample`
1340
+ # @return [Array<String>]
1341
+ attr_accessor :purge_sample
1342
+
1343
+ def initialize(**args)
1344
+ update!(**args)
1345
+ end
1346
+
1347
+ # Update properties of this object
1348
+ def update!(**args)
1349
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
1350
+ @purge_sample = args[:purge_sample] if args.key?(:purge_sample)
1351
+ end
1352
+ end
1353
+
1181
1354
  # Request message for Recommend method.
1182
1355
  class GoogleCloudDiscoveryengineV1betaRecommendRequest
1183
1356
  include Google::Apis::Core::Hashable
1184
1357
 
1185
1358
  # Filter for restricting recommendation results with a length limit of 5,000
1186
1359
  # characters. Currently, only filter expressions on the `filter_tags` attribute
1187
- # is supported. Examples: * (filter_tags: ANY("Red", "Blue") OR filter_tags: ANY(
1188
- # "Hot", "Cold")) * (filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("
1189
- # Green")) If your filter blocks all results, the API will return generic (
1190
- # unfiltered) popular Documents. If you only want results strictly matching the
1360
+ # is supported. Examples: * `(filter_tags: ANY("Red", "Blue") OR filter_tags:
1361
+ # ANY("Hot", "Cold"))` * `(filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags:
1362
+ # ANY("Green"))` If your filter blocks all results, the API will return generic
1363
+ # (unfiltered) popular Documents. If you only want results strictly matching the
1191
1364
  # filters, set `strictFiltering` to True in RecommendRequest.params to receive
1192
- # empty results instead. Note that the API will never return Documents with
1193
- # storageStatus of "EXPIRED" or "DELETED" regardless of filter choices.
1365
+ # empty results instead. Note that the API will never return Documents with `
1366
+ # storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices.
1194
1367
  # Corresponds to the JSON property `filter`
1195
1368
  # @return [String]
1196
1369
  attr_accessor :filter
@@ -1205,17 +1378,17 @@ module Google
1205
1378
 
1206
1379
  # Additional domain specific parameters for the recommendations. Allowed values:
1207
1380
  # * `returnDocument`: Boolean. If set to true, the associated Document object
1208
- # will be returned in RecommendResponse.results.document. * `returnScore`:
1209
- # Boolean. If set to true, the recommendation 'score' corresponding to each
1210
- # returned Document will be set in RecommendResponse.results.metadata. The given
1211
- # 'score' indicates the probability of a Document conversion given the user's
1212
- # context and history. * `strictFiltering`: Boolean. True by default. If set to
1213
- # false, the service will return generic (unfiltered) popular Documents instead
1214
- # of empty if your filter blocks all recommendation results. * `diversityLevel`:
1215
- # String. Default empty. If set to be non-empty, then it needs to be one of: * '
1216
- # no-diversity' * 'low-diversity' * 'medium-diversity' * 'high-diversity' * '
1217
- # auto-diversity' This gives request-level control and adjusts recommendation
1218
- # results based on Document category.
1381
+ # will be returned in RecommendResponse.RecommendationResult.document. * `
1382
+ # returnScore`: Boolean. If set to true, the recommendation 'score'
1383
+ # corresponding to each returned Document will be set in RecommendResponse.
1384
+ # RecommendationResult.metadata. The given 'score' indicates the probability of
1385
+ # a Document conversion given the user's context and history. * `strictFiltering`
1386
+ # : Boolean. True by default. If set to false, the service will return generic (
1387
+ # unfiltered) popular Documents instead of empty if your filter blocks all
1388
+ # recommendation results. * `diversityLevel`: String. Default empty. If set to
1389
+ # be non-empty, then it needs to be one of: * `no-diversity` * `low-diversity` *
1390
+ # `medium-diversity` * `high-diversity` * `auto-diversity` This gives request-
1391
+ # level control and adjusts recommendation results based on Document category.
1219
1392
  # Corresponds to the JSON property `params`
1220
1393
  # @return [Hash<String,Object>]
1221
1394
  attr_accessor :params
@@ -1402,8 +1575,8 @@ module Google
1402
1575
  # The user's search query. See SearchRequest.query for definition. The value
1403
1576
  # must be a UTF-8 encoded string with a length limit of 5,000 characters.
1404
1577
  # Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query
1405
- # or page_categories is required for `search` events. Other event types should
1406
- # not set this field. Otherwise, an INVALID_ARGUMENT error is returned.
1578
+ # or PageInfo.page_category is required for `search` events. Other event types
1579
+ # should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.
1407
1580
  # Corresponds to the JSON property `searchQuery`
1408
1581
  # @return [String]
1409
1582
  attr_accessor :search_query
@@ -1492,33 +1665,33 @@ module Google
1492
1665
  # imported events and events provided with prediction requests. This lets the
1493
1666
  # Discovery Engine API use those custom attributes when training models and
1494
1667
  # serving predictions, which helps improve recommendation quality. This field
1495
- # needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is
1668
+ # needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is
1496
1669
  # returned: * The key must be a UTF-8 encoded string with a length limit of 5,
1497
1670
  # 000 characters. * For text attributes, at most 400 values are allowed. Empty
1498
1671
  # values are not allowed. Each value must be a UTF-8 encoded string with a
1499
1672
  # length limit of 256 characters. * For number attributes, at most 400 values
1500
1673
  # are allowed. For product recommendations, an example of extra user information
1501
- # is traffic_channel, which is how a user arrives at the site. Users can arrive
1502
- # at the site by coming to the site directly, coming through Google search, or
1503
- # in other ways.
1674
+ # is ` traffic_channel`, which is how a user arrives at the site. Users can
1675
+ # arrive at the site by coming to the site directly, coming through Google
1676
+ # search, or in other ways.
1504
1677
  # Corresponds to the JSON property `attributes`
1505
1678
  # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomAttribute>]
1506
1679
  attr_accessor :attributes
1507
1680
 
1508
1681
  # Token to attribute an API response to user action(s) to trigger the event.
1509
- # Highly recommended for user events that are the result of PredictionService.
1510
- # Predict. This field enables accurate attribution of recommendation model
1511
- # performance. The value must be one of: * PredictResponse.attribution_token for
1512
- # events that are the result of PredictionService.Predict. * SearchResponse.
1513
- # attribution_token for events that are the result of SearchService.Search. *
1514
- # CompleteQueryResponse.attribution_token for events that are the result of
1515
- # SearchService.CompleteQuery. This token enables us to accurately attribute
1516
- # page view or conversion completion back to the event and the particular
1517
- # predict response containing this clicked/purchased product. If user clicks on
1518
- # product K in the recommendation results, pass PredictResponse.
1519
- # attribution_token as a URL parameter to product K's page. When recording
1520
- # events on product K's page, log the PredictResponse.attribution_token to this
1521
- # field.
1682
+ # Highly recommended for user events that are the result of
1683
+ # RecommendationService.Recommend. This field enables accurate attribution of
1684
+ # recommendation model performance. The value must be one of: * PredictResponse.
1685
+ # attribution_token for events that are the result of RecommendationService.
1686
+ # Recommend. * SearchResponse.attribution_token for events that are the result
1687
+ # of SearchService.Search. * CompleteQueryResponse.attribution_token for events
1688
+ # that are the result of CompletionService.CompleteQuery. This token enables us
1689
+ # to accurately attribute page view or conversion completion back to the event
1690
+ # and the particular predict response containing this clicked/purchased product.
1691
+ # If user clicks on product K in the recommendation results, pass
1692
+ # PredictResponse.attribution_token as a URL parameter to product K's page. When
1693
+ # recording events on product K's page, log the PredictResponse.
1694
+ # attribution_token to this field.
1522
1695
  # Corresponds to the JSON property `attributionToken`
1523
1696
  # @return [String]
1524
1697
  attr_accessor :attribution_token
@@ -1571,11 +1744,11 @@ module Google
1571
1744
 
1572
1745
  # The filter syntax consists of an expression language for constructing a
1573
1746
  # predicate from one or more fields of the documents being filtered. One example
1574
- # is for `search` events, the associated SearchService.SearchRequest may contain
1575
- # a filter expression in SearchService.SearchRequest.filter conforming to https:/
1576
- # /google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
1577
- # generated from a PredictionService.PredictRequest, this field may be populated
1578
- # directly from PredictionService.PredictRequest.filter conforming to https://
1747
+ # is for `search` events, the associated SearchRequest may contain a filter
1748
+ # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
1749
+ # filtering. Similarly, for `view-item-list` events that are generated from a
1750
+ # RecommendationService.RecommendRequest, this field may be populated directly
1751
+ # from RecommendationService.RecommendRequest.filter conforming to https://
1579
1752
  # google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a
1580
1753
  # length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is
1581
1754
  # returned.
@@ -1683,10 +1856,10 @@ module Google
1683
1856
 
1684
1857
  # User agent as included in the HTTP header. Required for getting SearchResponse.
1685
1858
  # sponsored_results. The field must be a UTF-8 encoded string with a length
1686
- # limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
1859
+ # limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
1687
1860
  # This should not be set when using the client side event reporting with GTM or
1688
- # JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
1689
- # is set.
1861
+ # JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.
1862
+ # direct_user_request is set.
1690
1863
  # Corresponds to the JSON property `userAgent`
1691
1864
  # @return [String]
1692
1865
  attr_accessor :user_agent
@@ -1696,7 +1869,7 @@ module Google
1696
1869
  # for this ID. Don't set the field to the same fixed ID for different users.
1697
1870
  # This mixes the event history of those users together, which results in
1698
1871
  # degraded model quality. The field must be a UTF-8 encoded string with a length
1699
- # limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
1872
+ # limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
1700
1873
  # Corresponds to the JSON property `userId`
1701
1874
  # @return [String]
1702
1875
  attr_accessor :user_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230408"
25
+ REVISION = "20230504"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,18 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class GoogleCloudDiscoveryengineV1alphaSchema
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -214,6 +226,24 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class GoogleCloudDiscoveryengineV1betaRecommendRequest
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -409,6 +439,24 @@ module Google
409
439
  end
410
440
  end
411
441
 
442
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :create_time, as: 'createTime'
446
+ property :failure_count, :numeric_string => true, as: 'failureCount'
447
+ property :success_count, :numeric_string => true, as: 'successCount'
448
+ property :update_time, as: 'updateTime'
449
+ end
450
+ end
451
+
452
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
456
+ collection :purge_sample, as: 'purgeSample'
457
+ end
458
+ end
459
+
412
460
  class GoogleCloudDiscoveryengineV1alphaSchema
413
461
  # @private
414
462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -466,6 +514,7 @@ module Google
466
514
  property :name, as: 'name'
467
515
  collection :promotion_ids, as: 'promotionIds'
468
516
  property :quantity, as: 'quantity'
517
+ property :uri, as: 'uri'
469
518
  end
470
519
  end
471
520
 
@@ -608,6 +657,32 @@ module Google
608
657
  end
609
658
  end
610
659
 
660
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :create_time, as: 'createTime'
664
+ property :failure_count, :numeric_string => true, as: 'failureCount'
665
+ property :success_count, :numeric_string => true, as: 'successCount'
666
+ property :update_time, as: 'updateTime'
667
+ end
668
+ end
669
+
670
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ property :filter, as: 'filter'
674
+ property :force, as: 'force'
675
+ end
676
+ end
677
+
678
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
682
+ collection :purge_sample, as: 'purgeSample'
683
+ end
684
+ end
685
+
611
686
  class GoogleCloudDiscoveryengineV1betaRecommendRequest
612
687
  # @private
613
688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -57,12 +57,12 @@ module Google
57
57
  # @param [String] document_id
58
58
  # Required. The ID to use for the Document, which will become the final
59
59
  # component of the Document.name. If the caller does not have permission to
60
- # create the Document, regardless of whether or not it exists, a
61
- # PERMISSION_DENIED error is returned. This field must be unique among all
62
- # Documents with the same parent. Otherwise, an ALREADY_EXISTS error is returned.
63
- # This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
64
- # standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT
65
- # error is returned.
60
+ # create the Document, regardless of whether or not it exists, a `
61
+ # PERMISSION_DENIED` error is returned. This field must be unique among all
62
+ # Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
63
+ # returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/
64
+ # rfc1034) standard with a length limit of 63 characters. Otherwise, an `
65
+ # INVALID_ARGUMENT` error is returned.
66
66
  # @param [String] fields
67
67
  # Selector specifying which fields to include in a partial response.
68
68
  # @param [String] quota_user
@@ -98,9 +98,9 @@ module Google
98
98
  # Required. Full resource name of Document, such as `projects/`project`/
99
99
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
100
100
  # `branch`/documents/`document``. If the caller does not have permission to
101
- # delete the Document, regardless of whether or not it exists, a
102
- # PERMISSION_DENIED error is returned. If the Document to delete does not exist,
103
- # a NOT_FOUND error is returned.
101
+ # delete the Document, regardless of whether or not it exists, a `
102
+ # PERMISSION_DENIED` error is returned. If the Document to delete does not exist,
103
+ # a `NOT_FOUND` error is returned.
104
104
  # @param [String] fields
105
105
  # Selector specifying which fields to include in a partial response.
106
106
  # @param [String] quota_user
@@ -133,9 +133,9 @@ module Google
133
133
  # Required. Full resource name of Document, such as `projects/`project`/
134
134
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
135
135
  # `branch`/documents/`document``. If the caller does not have permission to
136
- # access the Document, regardless of whether or not it exists, a
137
- # PERMISSION_DENIED error is returned. If the requested Document does not exist,
138
- # a NOT_FOUND error is returned.
136
+ # access the Document, regardless of whether or not it exists, a `
137
+ # PERMISSION_DENIED` error is returned. If the requested Document does not exist,
138
+ # a `NOT_FOUND` error is returned.
139
139
  # @param [String] fields
140
140
  # Selector specifying which fields to include in a partial response.
141
141
  # @param [String] quota_user
@@ -206,18 +206,18 @@ module Google
206
206
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
207
207
  # `branch``. Use `default_branch` as the branch ID, to list documents under the
208
208
  # default branch. If the caller does not have permission to list Documentss
209
- # under this branch, regardless of whether or not this branch exists, a
210
- # PERMISSION_DENIED error is returned.
209
+ # under this branch, regardless of whether or not this branch exists, a `
210
+ # PERMISSION_DENIED` error is returned.
211
211
  # @param [Fixnum] page_size
212
212
  # Maximum number of Documents to return. If unspecified, defaults to 100. The
213
213
  # maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
214
- # this field is negative, an INVALID_ARGUMENT error is returned.
214
+ # this field is negative, an `INVALID_ARGUMENT` error is returned.
215
215
  # @param [String] page_token
216
216
  # A page token ListDocumentsResponse.next_page_token, received from a previous
217
217
  # DocumentService.ListDocuments call. Provide this to retrieve the subsequent
218
218
  # page. When paginating, all other parameters provided to DocumentService.
219
- # ListDocuments must match the call that provided the page token. Otherwise, an
220
- # INVALID_ARGUMENT error is returned.
219
+ # ListDocuments must match the call that provided the page token. Otherwise, an `
220
+ # INVALID_ARGUMENT` error is returned.
221
221
  # @param [String] fields
222
222
  # Selector specifying which fields to include in a partial response.
223
223
  # @param [String] quota_user
@@ -286,6 +286,45 @@ module Google
286
286
  execute_or_queue_command(command, &block)
287
287
  end
288
288
 
289
+ # Permanently deletes all selected Documents in a branch. This process is
290
+ # asynchronous. Depending on the number of Documents to be deleted, this
291
+ # operation can take hours to complete. Before the delete operation completes,
292
+ # some Documents might still be returned by DocumentService.GetDocument or
293
+ # DocumentService.ListDocuments. To get a list of the Documents to be deleted,
294
+ # set PurgeDocumentsRequest.force to false.
295
+ # @param [String] parent
296
+ # Required. The parent resource name, such as `projects/`project`/locations/`
297
+ # location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
298
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest] google_cloud_discoveryengine_v1beta_purge_documents_request_object
299
+ # @param [String] fields
300
+ # Selector specifying which fields to include in a partial response.
301
+ # @param [String] quota_user
302
+ # Available to use for quota purposes for server-side applications. Can be any
303
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
304
+ # @param [Google::Apis::RequestOptions] options
305
+ # Request-specific options
306
+ #
307
+ # @yield [result, err] Result & error if block supplied
308
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
309
+ # @yieldparam err [StandardError] error object if request failed
310
+ #
311
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
312
+ #
313
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
314
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
315
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
316
+ def purge_project_location_collection_data_store_branch_document(parent, google_cloud_discoveryengine_v1beta_purge_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
317
+ command = make_simple_command(:post, 'v1beta/{+parent}/documents:purge', options)
318
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest::Representation
319
+ command.request_object = google_cloud_discoveryengine_v1beta_purge_documents_request_object
320
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
321
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
322
+ command.params['parent'] = parent unless parent.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
289
328
  # Gets the latest state of a long-running operation. Clients can use this method
290
329
  # to poll the operation result at intervals as recommended by the API service.
291
330
  # @param [String] name
@@ -501,8 +540,8 @@ module Google
501
540
 
502
541
  # Makes a recommendation, which requires a contextual user event.
503
542
  # @param [String] serving_config
504
- # Required. Full resource name of the format: projects/*/locations/global/
505
- # collections/*/dataStores/*/servingConfigs/* Before you can request
543
+ # Required. Full resource name of the format: `projects/*/locations/global/
544
+ # collections/*/dataStores/*/servingConfigs/*` Before you can request
506
545
  # recommendations from your model, you must create at least one serving config
507
546
  # for it.
508
547
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendRequest] google_cloud_discoveryengine_v1beta_recommend_request_object
@@ -655,6 +694,77 @@ module Google
655
694
  execute_or_queue_command(command, &block)
656
695
  end
657
696
 
697
+ # Gets the latest state of a long-running operation. Clients can use this method
698
+ # to poll the operation result at intervals as recommended by the API service.
699
+ # @param [String] name
700
+ # The name of the operation resource.
701
+ # @param [String] fields
702
+ # Selector specifying which fields to include in a partial response.
703
+ # @param [String] quota_user
704
+ # Available to use for quota purposes for server-side applications. Can be any
705
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
706
+ # @param [Google::Apis::RequestOptions] options
707
+ # Request-specific options
708
+ #
709
+ # @yield [result, err] Result & error if block supplied
710
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
711
+ # @yieldparam err [StandardError] error object if request failed
712
+ #
713
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
714
+ #
715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
718
+ def get_project_location_collection_engine_operation(name, fields: nil, quota_user: nil, options: nil, &block)
719
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
720
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
721
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
722
+ command.params['name'] = name unless name.nil?
723
+ command.query['fields'] = fields unless fields.nil?
724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
725
+ execute_or_queue_command(command, &block)
726
+ end
727
+
728
+ # Lists operations that match the specified filter in the request. If the server
729
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
730
+ # @param [String] name
731
+ # The name of the operation's parent resource.
732
+ # @param [String] filter
733
+ # The standard list filter.
734
+ # @param [Fixnum] page_size
735
+ # The standard list page size.
736
+ # @param [String] page_token
737
+ # The standard list page token.
738
+ # @param [String] fields
739
+ # Selector specifying which fields to include in a partial response.
740
+ # @param [String] quota_user
741
+ # Available to use for quota purposes for server-side applications. Can be any
742
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
743
+ # @param [Google::Apis::RequestOptions] options
744
+ # Request-specific options
745
+ #
746
+ # @yield [result, err] Result & error if block supplied
747
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
748
+ # @yieldparam err [StandardError] error object if request failed
749
+ #
750
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
751
+ #
752
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
753
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
754
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
755
+ def list_project_location_collection_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
756
+ command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
757
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
758
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
759
+ command.params['name'] = name unless name.nil?
760
+ command.query['filter'] = filter unless filter.nil?
761
+ command.query['pageSize'] = page_size unless page_size.nil?
762
+ command.query['pageToken'] = page_token unless page_token.nil?
763
+ command.query['fields'] = fields unless fields.nil?
764
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
765
+ execute_or_queue_command(command, &block)
766
+ end
767
+
658
768
  # Gets the latest state of a long-running operation. Clients can use this method
659
769
  # to poll the operation result at intervals as recommended by the API service.
660
770
  # @param [String] name
@@ -734,12 +844,12 @@ module Google
734
844
  # @param [String] document_id
735
845
  # Required. The ID to use for the Document, which will become the final
736
846
  # component of the Document.name. If the caller does not have permission to
737
- # create the Document, regardless of whether or not it exists, a
738
- # PERMISSION_DENIED error is returned. This field must be unique among all
739
- # Documents with the same parent. Otherwise, an ALREADY_EXISTS error is returned.
740
- # This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
741
- # standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT
742
- # error is returned.
847
+ # create the Document, regardless of whether or not it exists, a `
848
+ # PERMISSION_DENIED` error is returned. This field must be unique among all
849
+ # Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
850
+ # returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/
851
+ # rfc1034) standard with a length limit of 63 characters. Otherwise, an `
852
+ # INVALID_ARGUMENT` error is returned.
743
853
  # @param [String] fields
744
854
  # Selector specifying which fields to include in a partial response.
745
855
  # @param [String] quota_user
@@ -775,9 +885,9 @@ module Google
775
885
  # Required. Full resource name of Document, such as `projects/`project`/
776
886
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
777
887
  # `branch`/documents/`document``. If the caller does not have permission to
778
- # delete the Document, regardless of whether or not it exists, a
779
- # PERMISSION_DENIED error is returned. If the Document to delete does not exist,
780
- # a NOT_FOUND error is returned.
888
+ # delete the Document, regardless of whether or not it exists, a `
889
+ # PERMISSION_DENIED` error is returned. If the Document to delete does not exist,
890
+ # a `NOT_FOUND` error is returned.
781
891
  # @param [String] fields
782
892
  # Selector specifying which fields to include in a partial response.
783
893
  # @param [String] quota_user
@@ -810,9 +920,9 @@ module Google
810
920
  # Required. Full resource name of Document, such as `projects/`project`/
811
921
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
812
922
  # `branch`/documents/`document``. If the caller does not have permission to
813
- # access the Document, regardless of whether or not it exists, a
814
- # PERMISSION_DENIED error is returned. If the requested Document does not exist,
815
- # a NOT_FOUND error is returned.
923
+ # access the Document, regardless of whether or not it exists, a `
924
+ # PERMISSION_DENIED` error is returned. If the requested Document does not exist,
925
+ # a `NOT_FOUND` error is returned.
816
926
  # @param [String] fields
817
927
  # Selector specifying which fields to include in a partial response.
818
928
  # @param [String] quota_user
@@ -883,18 +993,18 @@ module Google
883
993
  # locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
884
994
  # `branch``. Use `default_branch` as the branch ID, to list documents under the
885
995
  # default branch. If the caller does not have permission to list Documentss
886
- # under this branch, regardless of whether or not this branch exists, a
887
- # PERMISSION_DENIED error is returned.
996
+ # under this branch, regardless of whether or not this branch exists, a `
997
+ # PERMISSION_DENIED` error is returned.
888
998
  # @param [Fixnum] page_size
889
999
  # Maximum number of Documents to return. If unspecified, defaults to 100. The
890
1000
  # maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
891
- # this field is negative, an INVALID_ARGUMENT error is returned.
1001
+ # this field is negative, an `INVALID_ARGUMENT` error is returned.
892
1002
  # @param [String] page_token
893
1003
  # A page token ListDocumentsResponse.next_page_token, received from a previous
894
1004
  # DocumentService.ListDocuments call. Provide this to retrieve the subsequent
895
1005
  # page. When paginating, all other parameters provided to DocumentService.
896
- # ListDocuments must match the call that provided the page token. Otherwise, an
897
- # INVALID_ARGUMENT error is returned.
1006
+ # ListDocuments must match the call that provided the page token. Otherwise, an `
1007
+ # INVALID_ARGUMENT` error is returned.
898
1008
  # @param [String] fields
899
1009
  # Selector specifying which fields to include in a partial response.
900
1010
  # @param [String] quota_user
@@ -963,6 +1073,45 @@ module Google
963
1073
  execute_or_queue_command(command, &block)
964
1074
  end
965
1075
 
1076
+ # Permanently deletes all selected Documents in a branch. This process is
1077
+ # asynchronous. Depending on the number of Documents to be deleted, this
1078
+ # operation can take hours to complete. Before the delete operation completes,
1079
+ # some Documents might still be returned by DocumentService.GetDocument or
1080
+ # DocumentService.ListDocuments. To get a list of the Documents to be deleted,
1081
+ # set PurgeDocumentsRequest.force to false.
1082
+ # @param [String] parent
1083
+ # Required. The parent resource name, such as `projects/`project`/locations/`
1084
+ # location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
1085
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest] google_cloud_discoveryengine_v1beta_purge_documents_request_object
1086
+ # @param [String] fields
1087
+ # Selector specifying which fields to include in a partial response.
1088
+ # @param [String] quota_user
1089
+ # Available to use for quota purposes for server-side applications. Can be any
1090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1091
+ # @param [Google::Apis::RequestOptions] options
1092
+ # Request-specific options
1093
+ #
1094
+ # @yield [result, err] Result & error if block supplied
1095
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
1096
+ # @yieldparam err [StandardError] error object if request failed
1097
+ #
1098
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
1099
+ #
1100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1103
+ def purge_project_location_data_store_branch_document(parent, google_cloud_discoveryengine_v1beta_purge_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1104
+ command = make_simple_command(:post, 'v1beta/{+parent}/documents:purge', options)
1105
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest::Representation
1106
+ command.request_object = google_cloud_discoveryengine_v1beta_purge_documents_request_object
1107
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
1108
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
1109
+ command.params['parent'] = parent unless parent.nil?
1110
+ command.query['fields'] = fields unless fields.nil?
1111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1112
+ execute_or_queue_command(command, &block)
1113
+ end
1114
+
966
1115
  # Gets the latest state of a long-running operation. Clients can use this method
967
1116
  # to poll the operation result at intervals as recommended by the API service.
968
1117
  # @param [String] name
@@ -1178,8 +1327,8 @@ module Google
1178
1327
 
1179
1328
  # Makes a recommendation, which requires a contextual user event.
1180
1329
  # @param [String] serving_config
1181
- # Required. Full resource name of the format: projects/*/locations/global/
1182
- # collections/*/dataStores/*/servingConfigs/* Before you can request
1330
+ # Required. Full resource name of the format: `projects/*/locations/global/
1331
+ # collections/*/dataStores/*/servingConfigs/*` Before you can request
1183
1332
  # recommendations from your model, you must create at least one serving config
1184
1333
  # for it.
1185
1334
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendRequest] google_cloud_discoveryengine_v1beta_recommend_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-16 00:00:00.000000000 Z
11
+ date: 2023-05-14 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-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []