google-apis-discoveryengine_v1alpha 0.21.0 → 0.23.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: 1d83f6143023b0103165c9f92dd11536614f64fc9e03381e382dd9e0ce0dd8aa
4
- data.tar.gz: a819bb70236be5504b446a4e6bfc550549e341cd69b48946b3de2a2fc8e89bd6
3
+ metadata.gz: 9ae48a74fb91e4016f1f14a099b5ab249637a087bb27d5d2cf8ac24bcf7365e0
4
+ data.tar.gz: 2b44374f6a13ff1b3535ff54ab6bef4efb510105354b98bd68f0f89efbcc58c9
5
5
  SHA512:
6
- metadata.gz: fe78f3e396644098b6d3390f0cc8171c65d3a4ee50806828b90b7f78c75c8bb6c629e2817ab64d8a3eb534514a4e40375d92c92df527d479d8cc4bfd1d8884bf
7
- data.tar.gz: ca9e3fce00239cdc0755d120eb8cecfd8c3106b0fbb76f4c1fb3be204c761914b929e261f94e06f49f3ce5e133493f0b73f5940db1443e2209bff44d6611af05
6
+ metadata.gz: f6382e55ea8efc6c7c6e061042c23a6aad15e8fbb9bd818788c64fe8d75733e19b65831bb88646a7effe3389024e4e920e456af03199ff343b8d59836aa48fa3
7
+ data.tar.gz: 8a2a5b4ddbf21154375bec7a712997c6a3ecc7ab5a07354f2a8318810d13fded4c49b540c689f1bca3d649bb682227bd6714216269b4635163b1ddbe3b8c13aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.23.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20230928
6
+
7
+ ### v0.22.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230925
10
+
3
11
  ### v0.21.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230914
@@ -762,7 +762,7 @@ module Google
762
762
  # imported search events. * `document-completable` - Using suggestions taken
763
763
  # directly from user-imported document fields marked as completable. Default
764
764
  # values: * `document` is the default model for regular dataStores. * `search-
765
- # history` is the default model for IndustryVertical.SITE_SEARCH dataStores.
765
+ # history` is the default model for site search dataStores.
766
766
  # Corresponds to the JSON property `queryModel`
767
767
  # @return [String]
768
768
  attr_accessor :query_model
@@ -2475,6 +2475,164 @@ module Google
2475
2475
  end
2476
2476
  end
2477
2477
 
2478
+ # Metadata related to the progress of the SiteSearchEngineService.RecrawlUris
2479
+ # operation. This will be returned by the google.longrunning.Operation.metadata
2480
+ # field.
2481
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
2482
+ include Google::Apis::Core::Hashable
2483
+
2484
+ # Operation create time.
2485
+ # Corresponds to the JSON property `createTime`
2486
+ # @return [String]
2487
+ attr_accessor :create_time
2488
+
2489
+ # Unique URIs in the request that don't match any TargetSite in the DataStore,
2490
+ # only match TargetSites that haven't been fully indexed, or match a TargetSite
2491
+ # with type EXCLUDE.
2492
+ # Corresponds to the JSON property `invalidUris`
2493
+ # @return [Array<String>]
2494
+ attr_accessor :invalid_uris
2495
+
2496
+ # Total number of URIs that have yet to be crawled.
2497
+ # Corresponds to the JSON property `pendingCount`
2498
+ # @return [Fixnum]
2499
+ attr_accessor :pending_count
2500
+
2501
+ # Total number of URIs that were rejected due to insufficient indexing resources.
2502
+ # Corresponds to the JSON property `quotaExceededCount`
2503
+ # @return [Fixnum]
2504
+ attr_accessor :quota_exceeded_count
2505
+
2506
+ # Total number of URIs that have been crawled so far.
2507
+ # Corresponds to the JSON property `successCount`
2508
+ # @return [Fixnum]
2509
+ attr_accessor :success_count
2510
+
2511
+ # Operation last update time. If the operation is done, this is also the finish
2512
+ # time.
2513
+ # Corresponds to the JSON property `updateTime`
2514
+ # @return [String]
2515
+ attr_accessor :update_time
2516
+
2517
+ # Total number of unique URIs in the request that are not in invalid_uris.
2518
+ # Corresponds to the JSON property `validUrisCount`
2519
+ # @return [Fixnum]
2520
+ attr_accessor :valid_uris_count
2521
+
2522
+ def initialize(**args)
2523
+ update!(**args)
2524
+ end
2525
+
2526
+ # Update properties of this object
2527
+ def update!(**args)
2528
+ @create_time = args[:create_time] if args.key?(:create_time)
2529
+ @invalid_uris = args[:invalid_uris] if args.key?(:invalid_uris)
2530
+ @pending_count = args[:pending_count] if args.key?(:pending_count)
2531
+ @quota_exceeded_count = args[:quota_exceeded_count] if args.key?(:quota_exceeded_count)
2532
+ @success_count = args[:success_count] if args.key?(:success_count)
2533
+ @update_time = args[:update_time] if args.key?(:update_time)
2534
+ @valid_uris_count = args[:valid_uris_count] if args.key?(:valid_uris_count)
2535
+ end
2536
+ end
2537
+
2538
+ # Request message for SiteSearchEngineService.RecrawlUris method.
2539
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
2540
+ include Google::Apis::Core::Hashable
2541
+
2542
+ # Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an
2543
+ # INVALID_ARGUMENT error is thrown. Each URI should match at least one
2544
+ # TargetSite in `site_search_engine`.
2545
+ # Corresponds to the JSON property `uris`
2546
+ # @return [Array<String>]
2547
+ attr_accessor :uris
2548
+
2549
+ def initialize(**args)
2550
+ update!(**args)
2551
+ end
2552
+
2553
+ # Update properties of this object
2554
+ def update!(**args)
2555
+ @uris = args[:uris] if args.key?(:uris)
2556
+ end
2557
+ end
2558
+
2559
+ # Response message for SiteSearchEngineService.RecrawlUris method.
2560
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
2561
+ include Google::Apis::Core::Hashable
2562
+
2563
+ # URIs that were not crawled before the LRO terminated.
2564
+ # Corresponds to the JSON property `failedUris`
2565
+ # @return [Array<String>]
2566
+ attr_accessor :failed_uris
2567
+
2568
+ # Details for a sample of up to 10 `failed_uris`.
2569
+ # Corresponds to the JSON property `failureSamples`
2570
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo>]
2571
+ attr_accessor :failure_samples
2572
+
2573
+ def initialize(**args)
2574
+ update!(**args)
2575
+ end
2576
+
2577
+ # Update properties of this object
2578
+ def update!(**args)
2579
+ @failed_uris = args[:failed_uris] if args.key?(:failed_uris)
2580
+ @failure_samples = args[:failure_samples] if args.key?(:failure_samples)
2581
+ end
2582
+ end
2583
+
2584
+ # Details about why a particular URI failed to be crawled. Each FailureInfo
2585
+ # contains one FailureReason per CorpusType.
2586
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
2587
+ include Google::Apis::Core::Hashable
2588
+
2589
+ # List of failure reasons by corpus type (e.g. desktop, mobile).
2590
+ # Corresponds to the JSON property `failureReasons`
2591
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason>]
2592
+ attr_accessor :failure_reasons
2593
+
2594
+ # URI that failed to be crawled.
2595
+ # Corresponds to the JSON property `uri`
2596
+ # @return [String]
2597
+ attr_accessor :uri
2598
+
2599
+ def initialize(**args)
2600
+ update!(**args)
2601
+ end
2602
+
2603
+ # Update properties of this object
2604
+ def update!(**args)
2605
+ @failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
2606
+ @uri = args[:uri] if args.key?(:uri)
2607
+ end
2608
+ end
2609
+
2610
+ # Details about why crawling failed for a particular CorpusType, e.g. DESKTOP
2611
+ # and MOBILE crawling may fail for different reasons.
2612
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
2613
+ include Google::Apis::Core::Hashable
2614
+
2615
+ # DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
2616
+ # Corresponds to the JSON property `corpusType`
2617
+ # @return [String]
2618
+ attr_accessor :corpus_type
2619
+
2620
+ # Reason why the URI was not crawled.
2621
+ # Corresponds to the JSON property `errorMessage`
2622
+ # @return [String]
2623
+ attr_accessor :error_message
2624
+
2625
+ def initialize(**args)
2626
+ update!(**args)
2627
+ end
2628
+
2629
+ # Update properties of this object
2630
+ def update!(**args)
2631
+ @corpus_type = args[:corpus_type] if args.key?(:corpus_type)
2632
+ @error_message = args[:error_message] if args.key?(:error_message)
2633
+ end
2634
+ end
2635
+
2478
2636
  # Defines a reply message to user.
2479
2637
  class GoogleCloudDiscoveryengineV1alphaReply
2480
2638
  include Google::Apis::Core::Hashable
@@ -3363,6 +3521,11 @@ module Google
3363
3521
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseFacet>]
3364
3522
  attr_accessor :facets
3365
3523
 
3524
+ #
3525
+ # Corresponds to the JSON property `geoSearchDebugInfo`
3526
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo>]
3527
+ attr_accessor :geo_search_debug_info
3528
+
3366
3529
  # Guided search result. The guided search helps user to refine the search
3367
3530
  # results and narrow down to the real needs from a broaded search results.
3368
3531
  # Corresponds to the JSON property `guidedSearchResult`
@@ -3415,6 +3578,7 @@ module Google
3415
3578
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
3416
3579
  @corrected_query = args[:corrected_query] if args.key?(:corrected_query)
3417
3580
  @facets = args[:facets] if args.key?(:facets)
3581
+ @geo_search_debug_info = args[:geo_search_debug_info] if args.key?(:geo_search_debug_info)
3418
3582
  @guided_search_result = args[:guided_search_result] if args.key?(:guided_search_result)
3419
3583
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3420
3584
  @query_expansion_info = args[:query_expansion_info] if args.key?(:query_expansion_info)
@@ -3489,6 +3653,32 @@ module Google
3489
3653
  end
3490
3654
  end
3491
3655
 
3656
+ # Debug information specifically related to forward geocoding issues arising
3657
+ # from Geolocation Search.
3658
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo
3659
+ include Google::Apis::Core::Hashable
3660
+
3661
+ # The error produced.
3662
+ # Corresponds to the JSON property `errorMessage`
3663
+ # @return [String]
3664
+ attr_accessor :error_message
3665
+
3666
+ # The address from which forward geocoding ingestion produced issues.
3667
+ # Corresponds to the JSON property `originalAddressQuery`
3668
+ # @return [String]
3669
+ attr_accessor :original_address_query
3670
+
3671
+ def initialize(**args)
3672
+ update!(**args)
3673
+ end
3674
+
3675
+ # Update properties of this object
3676
+ def update!(**args)
3677
+ @error_message = args[:error_message] if args.key?(:error_message)
3678
+ @original_address_query = args[:original_address_query] if args.key?(:original_address_query)
3679
+ end
3680
+ end
3681
+
3492
3682
  # Guided search result. The guided search helps user to refine the search
3493
3683
  # results and narrow down to the real needs from a broaded search results.
3494
3684
  class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
@@ -4328,6 +4518,13 @@ module Google
4328
4518
  # @return [String]
4329
4519
  attr_accessor :name
4330
4520
 
4521
+ # The type of snippet to display in UCS widget. -
4522
+ # RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-
4523
+ # enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.
4524
+ # Corresponds to the JSON property `resultDisplayType`
4525
+ # @return [String]
4526
+ attr_accessor :result_display_type
4527
+
4331
4528
  # Required. Immutable. Specifies the solution type that this WidgetConfig can be
4332
4529
  # used for.
4333
4530
  # Corresponds to the JSON property `solutionType`
@@ -4363,6 +4560,7 @@ module Google
4363
4560
  @fields_ui_components_map = args[:fields_ui_components_map] if args.key?(:fields_ui_components_map)
4364
4561
  @llm_enabled = args[:llm_enabled] if args.key?(:llm_enabled)
4365
4562
  @name = args[:name] if args.key?(:name)
4563
+ @result_display_type = args[:result_display_type] if args.key?(:result_display_type)
4366
4564
  @solution_type = args[:solution_type] if args.key?(:solution_type)
4367
4565
  @update_time = args[:update_time] if args.key?(:update_time)
4368
4566
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.23.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 = "20230914"
25
+ REVISION = "20230928"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,36 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
421
451
  class GoogleCloudDiscoveryengineV1alphaReply
422
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
453
 
@@ -544,6 +574,12 @@ module Google
544
574
  include Google::Apis::Core::JsonObjectSupport
545
575
  end
546
576
 
577
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
547
583
  class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
548
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
585
 
@@ -1433,6 +1469,52 @@ module Google
1433
1469
  end
1434
1470
  end
1435
1471
 
1472
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :create_time, as: 'createTime'
1476
+ collection :invalid_uris, as: 'invalidUris'
1477
+ property :pending_count, as: 'pendingCount'
1478
+ property :quota_exceeded_count, as: 'quotaExceededCount'
1479
+ property :success_count, as: 'successCount'
1480
+ property :update_time, as: 'updateTime'
1481
+ property :valid_uris_count, as: 'validUrisCount'
1482
+ end
1483
+ end
1484
+
1485
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
1486
+ # @private
1487
+ class Representation < Google::Apis::Core::JsonRepresentation
1488
+ collection :uris, as: 'uris'
1489
+ end
1490
+ end
1491
+
1492
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
1493
+ # @private
1494
+ class Representation < Google::Apis::Core::JsonRepresentation
1495
+ collection :failed_uris, as: 'failedUris'
1496
+ collection :failure_samples, as: 'failureSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo::Representation
1497
+
1498
+ end
1499
+ end
1500
+
1501
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
1502
+ # @private
1503
+ class Representation < Google::Apis::Core::JsonRepresentation
1504
+ collection :failure_reasons, as: 'failureReasons', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason::Representation
1505
+
1506
+ property :uri, as: 'uri'
1507
+ end
1508
+ end
1509
+
1510
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
1511
+ # @private
1512
+ class Representation < Google::Apis::Core::JsonRepresentation
1513
+ property :corpus_type, as: 'corpusType'
1514
+ property :error_message, as: 'errorMessage'
1515
+ end
1516
+ end
1517
+
1436
1518
  class GoogleCloudDiscoveryengineV1alphaReply
1437
1519
  # @private
1438
1520
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1638,6 +1720,8 @@ module Google
1638
1720
  property :corrected_query, as: 'correctedQuery'
1639
1721
  collection :facets, as: 'facets', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseFacet, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseFacet::Representation
1640
1722
 
1723
+ collection :geo_search_debug_info, as: 'geoSearchDebugInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo::Representation
1724
+
1641
1725
  property :guided_search_result, as: 'guidedSearchResult', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult::Representation
1642
1726
 
1643
1727
  property :next_page_token, as: 'nextPageToken'
@@ -1672,6 +1756,14 @@ module Google
1672
1756
  end
1673
1757
  end
1674
1758
 
1759
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo
1760
+ # @private
1761
+ class Representation < Google::Apis::Core::JsonRepresentation
1762
+ property :error_message, as: 'errorMessage'
1763
+ property :original_address_query, as: 'originalAddressQuery'
1764
+ end
1765
+ end
1766
+
1675
1767
  class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
1676
1768
  # @private
1677
1769
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1886,6 +1978,7 @@ module Google
1886
1978
 
1887
1979
  property :llm_enabled, as: 'llmEnabled'
1888
1980
  property :name, as: 'name'
1981
+ property :result_display_type, as: 'resultDisplayType'
1889
1982
  property :solution_type, as: 'solutionType'
1890
1983
  property :update_time, as: 'updateTime'
1891
1984
  end
@@ -211,7 +211,7 @@ module Google
211
211
  # imported search events. * `document-completable` - Using suggestions taken
212
212
  # directly from user-imported document fields marked as completable. Default
213
213
  # values: * `document` is the default model for regular dataStores. * `search-
214
- # history` is the default model for IndustryVertical.SITE_SEARCH dataStores.
214
+ # history` is the default model for site search dataStores.
215
215
  # @param [String] user_pseudo_id
216
216
  # A unique identifier for tracking visitors. For example, this could be
217
217
  # implemented with an HTTP cookie, which should be able to uniquely identify a
@@ -1298,6 +1298,40 @@ module Google
1298
1298
  execute_or_queue_command(command, &block)
1299
1299
  end
1300
1300
 
1301
+ # Request on-demand recrawl for a list of URIs.
1302
+ # @param [String] site_search_engine
1303
+ # Required. Full resource name of the SiteSearchEngine, such as `projects/*/
1304
+ # locations/*/collections/*/dataStores/*/siteSearchEngine`.
1305
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest] google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object
1306
+ # @param [String] fields
1307
+ # Selector specifying which fields to include in a partial response.
1308
+ # @param [String] quota_user
1309
+ # Available to use for quota purposes for server-side applications. Can be any
1310
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1311
+ # @param [Google::Apis::RequestOptions] options
1312
+ # Request-specific options
1313
+ #
1314
+ # @yield [result, err] Result & error if block supplied
1315
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1316
+ # @yieldparam err [StandardError] error object if request failed
1317
+ #
1318
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1319
+ #
1320
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1321
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1322
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1323
+ def recrawl_project_location_collection_data_store_site_search_engine_uris(site_search_engine, google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1324
+ command = make_simple_command(:post, 'v1alpha/{+siteSearchEngine}:recrawlUris', options)
1325
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest::Representation
1326
+ command.request_object = google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object
1327
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1328
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1329
+ command.params['siteSearchEngine'] = site_search_engine unless site_search_engine.nil?
1330
+ command.query['fields'] = fields unless fields.nil?
1331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1332
+ execute_or_queue_command(command, &block)
1333
+ end
1334
+
1301
1335
  # Gets the latest state of a long-running operation. Clients can use this method
1302
1336
  # to poll the operation result at intervals as recommended by the API service.
1303
1337
  # @param [String] name
@@ -1761,7 +1795,7 @@ module Google
1761
1795
  # imported search events. * `document-completable` - Using suggestions taken
1762
1796
  # directly from user-imported document fields marked as completable. Default
1763
1797
  # values: * `document` is the default model for regular dataStores. * `search-
1764
- # history` is the default model for IndustryVertical.SITE_SEARCH dataStores.
1798
+ # history` is the default model for site search dataStores.
1765
1799
  # @param [String] user_pseudo_id
1766
1800
  # A unique identifier for tracking visitors. For example, this could be
1767
1801
  # implemented with an HTTP cookie, which should be able to uniquely identify a
@@ -2777,6 +2811,40 @@ module Google
2777
2811
  execute_or_queue_command(command, &block)
2778
2812
  end
2779
2813
 
2814
+ # Request on-demand recrawl for a list of URIs.
2815
+ # @param [String] site_search_engine
2816
+ # Required. Full resource name of the SiteSearchEngine, such as `projects/*/
2817
+ # locations/*/collections/*/dataStores/*/siteSearchEngine`.
2818
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest] google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object
2819
+ # @param [String] fields
2820
+ # Selector specifying which fields to include in a partial response.
2821
+ # @param [String] quota_user
2822
+ # Available to use for quota purposes for server-side applications. Can be any
2823
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2824
+ # @param [Google::Apis::RequestOptions] options
2825
+ # Request-specific options
2826
+ #
2827
+ # @yield [result, err] Result & error if block supplied
2828
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
2829
+ # @yieldparam err [StandardError] error object if request failed
2830
+ #
2831
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
2832
+ #
2833
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2834
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2835
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2836
+ def recrawl_project_location_data_store_site_search_engine_uris(site_search_engine, google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2837
+ command = make_simple_command(:post, 'v1alpha/{+siteSearchEngine}:recrawlUris', options)
2838
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest::Representation
2839
+ command.request_object = google_cloud_discoveryengine_v1alpha_recrawl_uris_request_object
2840
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
2841
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
2842
+ command.params['siteSearchEngine'] = site_search_engine unless site_search_engine.nil?
2843
+ command.query['fields'] = fields unless fields.nil?
2844
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2845
+ execute_or_queue_command(command, &block)
2846
+ end
2847
+
2780
2848
  # Writes a single user event from the browser. This uses a GET request to due to
2781
2849
  # browser restriction of POST-ing to a third-party domain. This method is used
2782
2850
  # only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-08 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []