google-apis-discoveryengine_v1beta 0.56.0 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250226"
25
+ REVISION = "20250312"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,18 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
703
715
  class GoogleCloudDiscoveryengineV1alphaAnswer
704
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
717
 
@@ -874,6 +886,12 @@ module Google
874
886
  include Google::Apis::Core::JsonObjectSupport
875
887
  end
876
888
 
889
+ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
877
895
  class GoogleCloudDiscoveryengineV1alphaControl
878
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
897
 
@@ -2758,120 +2776,6 @@ module Google
2758
2776
  include Google::Apis::Core::JsonObjectSupport
2759
2777
  end
2760
2778
 
2761
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest
2762
- class Representation < Google::Apis::Core::JsonRepresentation; end
2763
-
2764
- include Google::Apis::Core::JsonObjectSupport
2765
- end
2766
-
2767
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration
2768
- class Representation < Google::Apis::Core::JsonRepresentation; end
2769
-
2770
- include Google::Apis::Core::JsonObjectSupport
2771
- end
2772
-
2773
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
2774
- class Representation < Google::Apis::Core::JsonRepresentation; end
2775
-
2776
- include Google::Apis::Core::JsonObjectSupport
2777
- end
2778
-
2779
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec
2780
- class Representation < Google::Apis::Core::JsonRepresentation; end
2781
-
2782
- include Google::Apis::Core::JsonObjectSupport
2783
- end
2784
-
2785
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
2786
- class Representation < Google::Apis::Core::JsonRepresentation; end
2787
-
2788
- include Google::Apis::Core::JsonObjectSupport
2789
- end
2790
-
2791
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
2792
- class Representation < Google::Apis::Core::JsonRepresentation; end
2793
-
2794
- include Google::Apis::Core::JsonObjectSupport
2795
- end
2796
-
2797
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource
2798
- class Representation < Google::Apis::Core::JsonRepresentation; end
2799
-
2800
- include Google::Apis::Core::JsonObjectSupport
2801
- end
2802
-
2803
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource
2804
- class Representation < Google::Apis::Core::JsonRepresentation; end
2805
-
2806
- include Google::Apis::Core::JsonObjectSupport
2807
- end
2808
-
2809
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec
2810
- class Representation < Google::Apis::Core::JsonRepresentation; end
2811
-
2812
- include Google::Apis::Core::JsonObjectSupport
2813
- end
2814
-
2815
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse
2816
- class Representation < Google::Apis::Core::JsonRepresentation; end
2817
-
2818
- include Google::Apis::Core::JsonObjectSupport
2819
- end
2820
-
2821
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate
2822
- class Representation < Google::Apis::Core::JsonRepresentation; end
2823
-
2824
- include Google::Apis::Core::JsonObjectSupport
2825
- end
2826
-
2827
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata
2828
- class Representation < Google::Apis::Core::JsonRepresentation; end
2829
-
2830
- include Google::Apis::Core::JsonObjectSupport
2831
- end
2832
-
2833
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
2834
- class Representation < Google::Apis::Core::JsonRepresentation; end
2835
-
2836
- include Google::Apis::Core::JsonObjectSupport
2837
- end
2838
-
2839
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
2840
- class Representation < Google::Apis::Core::JsonRepresentation; end
2841
-
2842
- include Google::Apis::Core::JsonObjectSupport
2843
- end
2844
-
2845
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
2846
- class Representation < Google::Apis::Core::JsonRepresentation; end
2847
-
2848
- include Google::Apis::Core::JsonObjectSupport
2849
- end
2850
-
2851
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
2852
- class Representation < Google::Apis::Core::JsonRepresentation; end
2853
-
2854
- include Google::Apis::Core::JsonObjectSupport
2855
- end
2856
-
2857
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
2858
- class Representation < Google::Apis::Core::JsonRepresentation; end
2859
-
2860
- include Google::Apis::Core::JsonObjectSupport
2861
- end
2862
-
2863
- class GoogleCloudDiscoveryengineV1betaGroundedGenerationContent
2864
- class Representation < Google::Apis::Core::JsonRepresentation; end
2865
-
2866
- include Google::Apis::Core::JsonObjectSupport
2867
- end
2868
-
2869
- class GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
2870
- class Representation < Google::Apis::Core::JsonRepresentation; end
2871
-
2872
- include Google::Apis::Core::JsonObjectSupport
2873
- end
2874
-
2875
2779
  class GoogleCloudDiscoveryengineV1betaGroundingFact
2876
2780
  class Representation < Google::Apis::Core::JsonRepresentation; end
2877
2781
 
@@ -3538,6 +3442,12 @@ module Google
3538
3442
  include Google::Apis::Core::JsonObjectSupport
3539
3443
  end
3540
3444
 
3445
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
3446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3447
+
3448
+ include Google::Apis::Core::JsonObjectSupport
3449
+ end
3450
+
3541
3451
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
3542
3452
  class Representation < Google::Apis::Core::JsonRepresentation; end
3543
3453
 
@@ -5129,6 +5039,23 @@ module Google
5129
5039
  end
5130
5040
  end
5131
5041
 
5042
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5043
+ # @private
5044
+ class Representation < Google::Apis::Core::JsonRepresentation
5045
+ collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment::Representation
5046
+
5047
+ property :alert_policy_name, as: 'alertPolicyName'
5048
+ end
5049
+ end
5050
+
5051
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5052
+ # @private
5053
+ class Representation < Google::Apis::Core::JsonRepresentation
5054
+ property :alert_id, as: 'alertId'
5055
+ property :enroll_state, as: 'enrollState'
5056
+ end
5057
+ end
5058
+
5132
5059
  class GoogleCloudDiscoveryengineV1alphaAnswer
5133
5060
  # @private
5134
5061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5434,6 +5361,8 @@ module Google
5434
5361
 
5435
5362
  property :extracted_record_count, :numeric_string => true, as: 'extractedRecordCount'
5436
5363
  property :indexed_record_count, :numeric_string => true, as: 'indexedRecordCount'
5364
+ property :progress, as: 'progress', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress::Representation
5365
+
5437
5366
  property :source_api_request_count, :numeric_string => true, as: 'sourceApiRequestCount'
5438
5367
  property :state, as: 'state'
5439
5368
  property :state_update_time, as: 'stateUpdateTime'
@@ -5442,6 +5371,15 @@ module Google
5442
5371
  end
5443
5372
  end
5444
5373
 
5374
+ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
5375
+ # @private
5376
+ class Representation < Google::Apis::Core::JsonRepresentation
5377
+ property :current_count, :numeric_string => true, as: 'currentCount'
5378
+ property :percentile, as: 'percentile'
5379
+ property :total_count, :numeric_string => true, as: 'totalCount'
5380
+ end
5381
+ end
5382
+
5445
5383
  class GoogleCloudDiscoveryengineV1alphaControl
5446
5384
  # @private
5447
5385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5593,10 +5531,13 @@ module Google
5593
5531
  class Representation < Google::Apis::Core::JsonRepresentation
5594
5532
  property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
5595
5533
 
5534
+ collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
5535
+
5596
5536
  property :auto_run_disabled, as: 'autoRunDisabled'
5597
5537
  property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
5598
5538
 
5599
5539
  collection :blocking_reasons, as: 'blockingReasons'
5540
+ property :connector_type, as: 'connectorType'
5600
5541
  property :create_time, as: 'createTime'
5601
5542
  property :data_source, as: 'dataSource'
5602
5543
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
@@ -5616,6 +5557,7 @@ module Google
5616
5557
 
5617
5558
  hash :params, as: 'params'
5618
5559
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
5560
+ property :realtime_state, as: 'realtimeState'
5619
5561
  property :refresh_interval, as: 'refreshInterval'
5620
5562
  property :state, as: 'state'
5621
5563
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -5700,8 +5642,12 @@ module Google
5700
5642
  class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries
5701
5643
  # @private
5702
5644
  class Representation < Google::Apis::Core::JsonRepresentation
5645
+ property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
5646
+
5703
5647
  property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
5704
5648
 
5649
+ property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
5650
+
5705
5651
  property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
5706
5652
 
5707
5653
  end
@@ -7306,6 +7252,7 @@ module Google
7306
7252
  class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
7307
7253
  # @private
7308
7254
  class Representation < Google::Apis::Core::JsonRepresentation
7255
+ property :disable_spell_correction, as: 'disableSpellCorrection'
7309
7256
  property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
7310
7257
 
7311
7258
  property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
@@ -8208,8 +8155,12 @@ module Google
8208
8155
  class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries
8209
8156
  # @private
8210
8157
  class Representation < Google::Apis::Core::JsonRepresentation
8158
+ property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
8159
+
8211
8160
  property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
8212
8161
 
8162
+ property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
8163
+
8213
8164
  property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
8214
8165
 
8215
8166
  end
@@ -8591,192 +8542,6 @@ module Google
8591
8542
  end
8592
8543
  end
8593
8544
 
8594
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest
8595
- # @private
8596
- class Representation < Google::Apis::Core::JsonRepresentation
8597
- collection :contents, as: 'contents', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent::Representation
8598
-
8599
- property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec::Representation
8600
-
8601
- property :grounding_spec, as: 'groundingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec::Representation
8602
-
8603
- property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent::Representation
8604
-
8605
- hash :user_labels, as: 'userLabels'
8606
- end
8607
- end
8608
-
8609
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration
8610
- # @private
8611
- class Representation < Google::Apis::Core::JsonRepresentation
8612
- property :predictor, as: 'predictor', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor::Representation
8613
-
8614
- end
8615
- end
8616
-
8617
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
8618
- # @private
8619
- class Representation < Google::Apis::Core::JsonRepresentation
8620
- property :threshold, as: 'threshold'
8621
- property :version, as: 'version'
8622
- end
8623
- end
8624
-
8625
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec
8626
- # @private
8627
- class Representation < Google::Apis::Core::JsonRepresentation
8628
- property :frequency_penalty, as: 'frequencyPenalty'
8629
- property :language_code, as: 'languageCode'
8630
- property :max_output_tokens, as: 'maxOutputTokens'
8631
- property :model_id, as: 'modelId'
8632
- property :presence_penalty, as: 'presencePenalty'
8633
- property :seed, as: 'seed'
8634
- property :temperature, as: 'temperature'
8635
- property :top_k, as: 'topK'
8636
- property :top_p, as: 'topP'
8637
- end
8638
- end
8639
-
8640
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
8641
- # @private
8642
- class Representation < Google::Apis::Core::JsonRepresentation
8643
- property :google_search_source, as: 'googleSearchSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource::Representation
8644
-
8645
- property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource::Representation
8646
-
8647
- property :search_source, as: 'searchSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource::Representation
8648
-
8649
- end
8650
- end
8651
-
8652
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
8653
- # @private
8654
- class Representation < Google::Apis::Core::JsonRepresentation
8655
- property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration::Representation
8656
-
8657
- end
8658
- end
8659
-
8660
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource
8661
- # @private
8662
- class Representation < Google::Apis::Core::JsonRepresentation
8663
- hash :attributes, as: 'attributes'
8664
- collection :grounding_facts, as: 'groundingFacts', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundingFact, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundingFact::Representation
8665
-
8666
- end
8667
- end
8668
-
8669
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource
8670
- # @private
8671
- class Representation < Google::Apis::Core::JsonRepresentation
8672
- property :filter, as: 'filter'
8673
- property :max_result_count, as: 'maxResultCount'
8674
- property :safe_search, as: 'safeSearch'
8675
- property :serving_config, as: 'servingConfig'
8676
- end
8677
- end
8678
-
8679
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec
8680
- # @private
8681
- class Representation < Google::Apis::Core::JsonRepresentation
8682
- collection :grounding_sources, as: 'groundingSources', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource::Representation
8683
-
8684
- end
8685
- end
8686
-
8687
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse
8688
- # @private
8689
- class Representation < Google::Apis::Core::JsonRepresentation
8690
- collection :candidates, as: 'candidates', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate::Representation
8691
-
8692
- end
8693
- end
8694
-
8695
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate
8696
- # @private
8697
- class Representation < Google::Apis::Core::JsonRepresentation
8698
- property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent::Representation
8699
-
8700
- property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata::Representation
8701
-
8702
- property :grounding_score, as: 'groundingScore'
8703
- property :index, as: 'index'
8704
- end
8705
- end
8706
-
8707
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata
8708
- # @private
8709
- class Representation < Google::Apis::Core::JsonRepresentation
8710
- collection :grounding_support, as: 'groundingSupport', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport::Representation
8711
-
8712
- collection :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata::Representation
8713
-
8714
- property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint::Representation
8715
-
8716
- collection :support_chunks, as: 'supportChunks', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFactChunk, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFactChunk::Representation
8717
-
8718
- collection :web_search_queries, as: 'webSearchQueries'
8719
- end
8720
- end
8721
-
8722
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
8723
- # @private
8724
- class Representation < Google::Apis::Core::JsonRepresentation
8725
- property :predictor_metadata, as: 'predictorMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata::Representation
8726
-
8727
- end
8728
- end
8729
-
8730
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
8731
- # @private
8732
- class Representation < Google::Apis::Core::JsonRepresentation
8733
- property :prediction, as: 'prediction'
8734
- property :version, as: 'version'
8735
- end
8736
- end
8737
-
8738
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
8739
- # @private
8740
- class Representation < Google::Apis::Core::JsonRepresentation
8741
- property :claim_text, as: 'claimText'
8742
- collection :support_chunk_indices, as: 'supportChunkIndices'
8743
- property :support_score, as: 'supportScore'
8744
- end
8745
- end
8746
-
8747
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
8748
- # @private
8749
- class Representation < Google::Apis::Core::JsonRepresentation
8750
- property :dynamic_retrieval_metadata, as: 'dynamicRetrievalMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata::Representation
8751
-
8752
- property :source, as: 'source'
8753
- end
8754
- end
8755
-
8756
- class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
8757
- # @private
8758
- class Representation < Google::Apis::Core::JsonRepresentation
8759
- property :rendered_content, as: 'renderedContent'
8760
- property :sdk_blob, :base64 => true, as: 'sdkBlob'
8761
- end
8762
- end
8763
-
8764
- class GoogleCloudDiscoveryengineV1betaGroundedGenerationContent
8765
- # @private
8766
- class Representation < Google::Apis::Core::JsonRepresentation
8767
- collection :parts, as: 'parts', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart::Representation
8768
-
8769
- property :role, as: 'role'
8770
- end
8771
- end
8772
-
8773
- class GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
8774
- # @private
8775
- class Representation < Google::Apis::Core::JsonRepresentation
8776
- property :text, as: 'text'
8777
- end
8778
- end
8779
-
8780
8545
  class GoogleCloudDiscoveryengineV1betaGroundingFact
8781
8546
  # @private
8782
8547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9728,6 +9493,8 @@ module Google
9728
9493
 
9729
9494
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
9730
9495
 
9496
+ property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec::Representation
9497
+
9731
9498
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
9732
9499
 
9733
9500
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
@@ -9893,6 +9660,13 @@ module Google
9893
9660
  end
9894
9661
  end
9895
9662
 
9663
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
9664
+ # @private
9665
+ class Representation < Google::Apis::Core::JsonRepresentation
9666
+ property :match_highlighting_condition, as: 'matchHighlightingCondition'
9667
+ end
9668
+ end
9669
+
9896
9670
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
9897
9671
  # @private
9898
9672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10074,6 +9848,7 @@ module Google
10074
9848
  class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo
10075
9849
  # @private
10076
9850
  class Representation < Google::Apis::Core::JsonRepresentation
9851
+ collection :classified_intents, as: 'classifiedIntents'
10077
9852
  property :extracted_filters, as: 'extractedFilters'
10078
9853
  property :rewritten_query, as: 'rewrittenQuery'
10079
9854
  property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
@@ -88,39 +88,6 @@ module Google
88
88
  execute_or_queue_command(command, &block)
89
89
  end
90
90
 
91
- # Generates grounded content.
92
- # @param [String] location
93
- # Required. Location resource. Format: `projects/`project`/locations/`location``.
94
- # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest] google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object
95
- # @param [String] fields
96
- # Selector specifying which fields to include in a partial response.
97
- # @param [String] quota_user
98
- # Available to use for quota purposes for server-side applications. Can be any
99
- # arbitrary string assigned to a user, but should not exceed 40 characters.
100
- # @param [Google::Apis::RequestOptions] options
101
- # Request-specific options
102
- #
103
- # @yield [result, err] Result & error if block supplied
104
- # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse] parsed result object
105
- # @yieldparam err [StandardError] error object if request failed
106
- #
107
- # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse]
108
- #
109
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
- # @raise [Google::Apis::AuthorizationError] Authorization is required
112
- def generate_project_location_grounded_content(location, google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
113
- command = make_simple_command(:post, 'v1beta/{+location}:generateGroundedContent', options)
114
- command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest::Representation
115
- command.request_object = google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object
116
- command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse::Representation
117
- command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse
118
- command.params['location'] = location unless location.nil?
119
- command.query['fields'] = fields unless fields.nil?
120
- command.query['quotaUser'] = quota_user unless quota_user.nil?
121
- execute_or_queue_command(command, &block)
122
- end
123
-
124
91
  # Obtains the time series data of organic or dedicated crawl rate for monitoring.
125
92
  # When dedicated crawl rate is not set, it will return vertex AI's organic
126
93
  # crawl rate time series. Organic crawl means Google automatically crawl the
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.58.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: