google-apis-discoveryengine_v1alpha 0.54.0 → 0.56.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 DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.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
@@ -832,6 +832,18 @@ module Google
832
832
  include Google::Apis::Core::JsonObjectSupport
833
833
  end
834
834
 
835
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
835
847
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
836
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
849
 
@@ -1336,6 +1348,12 @@ module Google
1336
1348
  include Google::Apis::Core::JsonObjectSupport
1337
1349
  end
1338
1350
 
1351
+ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1339
1357
  class GoogleCloudDiscoveryengineV1alphaControl
1340
1358
  class Representation < Google::Apis::Core::JsonRepresentation; end
1341
1359
 
@@ -1870,108 +1888,6 @@ module Google
1870
1888
  include Google::Apis::Core::JsonObjectSupport
1871
1889
  end
1872
1890
 
1873
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
1874
- class Representation < Google::Apis::Core::JsonRepresentation; end
1875
-
1876
- include Google::Apis::Core::JsonObjectSupport
1877
- end
1878
-
1879
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration
1880
- class Representation < Google::Apis::Core::JsonRepresentation; end
1881
-
1882
- include Google::Apis::Core::JsonObjectSupport
1883
- end
1884
-
1885
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
1886
- class Representation < Google::Apis::Core::JsonRepresentation; end
1887
-
1888
- include Google::Apis::Core::JsonObjectSupport
1889
- end
1890
-
1891
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec
1892
- class Representation < Google::Apis::Core::JsonRepresentation; end
1893
-
1894
- include Google::Apis::Core::JsonObjectSupport
1895
- end
1896
-
1897
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource
1898
- class Representation < Google::Apis::Core::JsonRepresentation; end
1899
-
1900
- include Google::Apis::Core::JsonObjectSupport
1901
- end
1902
-
1903
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
1904
- class Representation < Google::Apis::Core::JsonRepresentation; end
1905
-
1906
- include Google::Apis::Core::JsonObjectSupport
1907
- end
1908
-
1909
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
1910
- class Representation < Google::Apis::Core::JsonRepresentation; end
1911
-
1912
- include Google::Apis::Core::JsonObjectSupport
1913
- end
1914
-
1915
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource
1916
- class Representation < Google::Apis::Core::JsonRepresentation; end
1917
-
1918
- include Google::Apis::Core::JsonObjectSupport
1919
- end
1920
-
1921
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec
1922
- class Representation < Google::Apis::Core::JsonRepresentation; end
1923
-
1924
- include Google::Apis::Core::JsonObjectSupport
1925
- end
1926
-
1927
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse
1928
- class Representation < Google::Apis::Core::JsonRepresentation; end
1929
-
1930
- include Google::Apis::Core::JsonObjectSupport
1931
- end
1932
-
1933
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate
1934
- class Representation < Google::Apis::Core::JsonRepresentation; end
1935
-
1936
- include Google::Apis::Core::JsonObjectSupport
1937
- end
1938
-
1939
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata
1940
- class Representation < Google::Apis::Core::JsonRepresentation; end
1941
-
1942
- include Google::Apis::Core::JsonObjectSupport
1943
- end
1944
-
1945
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
1946
- class Representation < Google::Apis::Core::JsonRepresentation; end
1947
-
1948
- include Google::Apis::Core::JsonObjectSupport
1949
- end
1950
-
1951
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
1952
- class Representation < Google::Apis::Core::JsonRepresentation; end
1953
-
1954
- include Google::Apis::Core::JsonObjectSupport
1955
- end
1956
-
1957
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
1958
- class Representation < Google::Apis::Core::JsonRepresentation; end
1959
-
1960
- include Google::Apis::Core::JsonObjectSupport
1961
- end
1962
-
1963
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
1964
- class Representation < Google::Apis::Core::JsonRepresentation; end
1965
-
1966
- include Google::Apis::Core::JsonObjectSupport
1967
- end
1968
-
1969
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
1970
- class Representation < Google::Apis::Core::JsonRepresentation; end
1971
-
1972
- include Google::Apis::Core::JsonObjectSupport
1973
- end
1974
-
1975
1891
  class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
1976
1892
  class Representation < Google::Apis::Core::JsonRepresentation; end
1977
1893
 
@@ -1984,18 +1900,6 @@ module Google
1984
1900
  include Google::Apis::Core::JsonObjectSupport
1985
1901
  end
1986
1902
 
1987
- class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent
1988
- class Representation < Google::Apis::Core::JsonRepresentation; end
1989
-
1990
- include Google::Apis::Core::JsonObjectSupport
1991
- end
1992
-
1993
- class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
1994
- class Representation < Google::Apis::Core::JsonRepresentation; end
1995
-
1996
- include Google::Apis::Core::JsonObjectSupport
1997
- end
1998
-
1999
1903
  class GoogleCloudDiscoveryengineV1alphaGroundingFact
2000
1904
  class Representation < Google::Apis::Core::JsonRepresentation; end
2001
1905
 
@@ -3964,6 +3868,12 @@ module Google
3964
3868
  include Google::Apis::Core::JsonObjectSupport
3965
3869
  end
3966
3870
 
3871
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
3872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3873
+
3874
+ include Google::Apis::Core::JsonObjectSupport
3875
+ end
3876
+
3967
3877
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
3968
3878
  class Representation < Google::Apis::Core::JsonRepresentation; end
3969
3879
 
@@ -5615,6 +5525,23 @@ module Google
5615
5525
  end
5616
5526
  end
5617
5527
 
5528
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5529
+ # @private
5530
+ class Representation < Google::Apis::Core::JsonRepresentation
5531
+ collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment::Representation
5532
+
5533
+ property :alert_policy_name, as: 'alertPolicyName'
5534
+ end
5535
+ end
5536
+
5537
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5538
+ # @private
5539
+ class Representation < Google::Apis::Core::JsonRepresentation
5540
+ property :alert_id, as: 'alertId'
5541
+ property :enroll_state, as: 'enrollState'
5542
+ end
5543
+ end
5544
+
5618
5545
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
5619
5546
  # @private
5620
5547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5781,6 +5708,7 @@ module Google
5781
5708
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
5782
5709
  # @private
5783
5710
  class Representation < Google::Apis::Core::JsonRepresentation
5711
+ property :disable_spell_correction, as: 'disableSpellCorrection'
5784
5712
  property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
5785
5713
 
5786
5714
  property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
@@ -6474,6 +6402,8 @@ module Google
6474
6402
 
6475
6403
  property :extracted_record_count, :numeric_string => true, as: 'extractedRecordCount'
6476
6404
  property :indexed_record_count, :numeric_string => true, as: 'indexedRecordCount'
6405
+ property :progress, as: 'progress', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress::Representation
6406
+
6477
6407
  property :source_api_request_count, :numeric_string => true, as: 'sourceApiRequestCount'
6478
6408
  property :state, as: 'state'
6479
6409
  property :state_update_time, as: 'stateUpdateTime'
@@ -6482,6 +6412,15 @@ module Google
6482
6412
  end
6483
6413
  end
6484
6414
 
6415
+ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
6416
+ # @private
6417
+ class Representation < Google::Apis::Core::JsonRepresentation
6418
+ property :current_count, :numeric_string => true, as: 'currentCount'
6419
+ property :percentile, as: 'percentile'
6420
+ property :total_count, :numeric_string => true, as: 'totalCount'
6421
+ end
6422
+ end
6423
+
6485
6424
  class GoogleCloudDiscoveryengineV1alphaControl
6486
6425
  # @private
6487
6426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6727,10 +6666,13 @@ module Google
6727
6666
  class Representation < Google::Apis::Core::JsonRepresentation
6728
6667
  property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
6729
6668
 
6669
+ collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
6670
+
6730
6671
  property :auto_run_disabled, as: 'autoRunDisabled'
6731
6672
  property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
6732
6673
 
6733
6674
  collection :blocking_reasons, as: 'blockingReasons'
6675
+ property :connector_type, as: 'connectorType'
6734
6676
  property :create_time, as: 'createTime'
6735
6677
  property :data_source, as: 'dataSource'
6736
6678
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
@@ -6750,6 +6692,7 @@ module Google
6750
6692
 
6751
6693
  hash :params, as: 'params'
6752
6694
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
6695
+ property :realtime_state, as: 'realtimeState'
6753
6696
  property :refresh_interval, as: 'refreshInterval'
6754
6697
  property :state, as: 'state'
6755
6698
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -6834,8 +6777,12 @@ module Google
6834
6777
  class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries
6835
6778
  # @private
6836
6779
  class Representation < Google::Apis::Core::JsonRepresentation
6780
+ property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
6781
+
6837
6782
  property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
6838
6783
 
6784
+ property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
6785
+
6839
6786
  property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
6840
6787
 
6841
6788
  end
@@ -7388,176 +7335,6 @@ module Google
7388
7335
  end
7389
7336
  end
7390
7337
 
7391
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
7392
- # @private
7393
- class Representation < Google::Apis::Core::JsonRepresentation
7394
- collection :contents, as: 'contents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent::Representation
7395
-
7396
- property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec::Representation
7397
-
7398
- property :grounding_spec, as: 'groundingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec::Representation
7399
-
7400
- property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent::Representation
7401
-
7402
- hash :user_labels, as: 'userLabels'
7403
- end
7404
- end
7405
-
7406
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration
7407
- # @private
7408
- class Representation < Google::Apis::Core::JsonRepresentation
7409
- property :predictor, as: 'predictor', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor::Representation
7410
-
7411
- end
7412
- end
7413
-
7414
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
7415
- # @private
7416
- class Representation < Google::Apis::Core::JsonRepresentation
7417
- property :threshold, as: 'threshold'
7418
- property :version, as: 'version'
7419
- end
7420
- end
7421
-
7422
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec
7423
- # @private
7424
- class Representation < Google::Apis::Core::JsonRepresentation
7425
- property :frequency_penalty, as: 'frequencyPenalty'
7426
- property :language_code, as: 'languageCode'
7427
- property :max_output_tokens, as: 'maxOutputTokens'
7428
- property :model_id, as: 'modelId'
7429
- property :presence_penalty, as: 'presencePenalty'
7430
- property :seed, as: 'seed'
7431
- property :temperature, as: 'temperature'
7432
- property :top_k, as: 'topK'
7433
- property :top_p, as: 'topP'
7434
- end
7435
- end
7436
-
7437
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource
7438
- # @private
7439
- class Representation < Google::Apis::Core::JsonRepresentation
7440
- property :google_search_source, as: 'googleSearchSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource::Representation
7441
-
7442
- property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource::Representation
7443
-
7444
- property :search_source, as: 'searchSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource::Representation
7445
-
7446
- end
7447
- end
7448
-
7449
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
7450
- # @private
7451
- class Representation < Google::Apis::Core::JsonRepresentation
7452
- property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration::Representation
7453
-
7454
- end
7455
- end
7456
-
7457
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
7458
- # @private
7459
- class Representation < Google::Apis::Core::JsonRepresentation
7460
- hash :attributes, as: 'attributes'
7461
- collection :grounding_facts, as: 'groundingFacts', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundingFact, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundingFact::Representation
7462
-
7463
- end
7464
- end
7465
-
7466
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource
7467
- # @private
7468
- class Representation < Google::Apis::Core::JsonRepresentation
7469
- property :filter, as: 'filter'
7470
- property :max_result_count, as: 'maxResultCount'
7471
- property :safe_search, as: 'safeSearch'
7472
- property :serving_config, as: 'servingConfig'
7473
- end
7474
- end
7475
-
7476
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec
7477
- # @private
7478
- class Representation < Google::Apis::Core::JsonRepresentation
7479
- collection :grounding_sources, as: 'groundingSources', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource::Representation
7480
-
7481
- end
7482
- end
7483
-
7484
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse
7485
- # @private
7486
- class Representation < Google::Apis::Core::JsonRepresentation
7487
- collection :candidates, as: 'candidates', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate::Representation
7488
-
7489
- end
7490
- end
7491
-
7492
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate
7493
- # @private
7494
- class Representation < Google::Apis::Core::JsonRepresentation
7495
- property :content, as: 'content', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent::Representation
7496
-
7497
- property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata::Representation
7498
-
7499
- property :grounding_score, as: 'groundingScore'
7500
- property :index, as: 'index'
7501
- end
7502
- end
7503
-
7504
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata
7505
- # @private
7506
- class Representation < Google::Apis::Core::JsonRepresentation
7507
- collection :grounding_support, as: 'groundingSupport', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport::Representation
7508
-
7509
- collection :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata::Representation
7510
-
7511
- property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint::Representation
7512
-
7513
- collection :support_chunks, as: 'supportChunks', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFactChunk, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFactChunk::Representation
7514
-
7515
- collection :web_search_queries, as: 'webSearchQueries'
7516
- end
7517
- end
7518
-
7519
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
7520
- # @private
7521
- class Representation < Google::Apis::Core::JsonRepresentation
7522
- property :predictor_metadata, as: 'predictorMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata::Representation
7523
-
7524
- end
7525
- end
7526
-
7527
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
7528
- # @private
7529
- class Representation < Google::Apis::Core::JsonRepresentation
7530
- property :prediction, as: 'prediction'
7531
- property :version, as: 'version'
7532
- end
7533
- end
7534
-
7535
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
7536
- # @private
7537
- class Representation < Google::Apis::Core::JsonRepresentation
7538
- property :claim_text, as: 'claimText'
7539
- collection :support_chunk_indices, as: 'supportChunkIndices'
7540
- property :support_score, as: 'supportScore'
7541
- end
7542
- end
7543
-
7544
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
7545
- # @private
7546
- class Representation < Google::Apis::Core::JsonRepresentation
7547
- property :dynamic_retrieval_metadata, as: 'dynamicRetrievalMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata::Representation
7548
-
7549
- property :source, as: 'source'
7550
- end
7551
- end
7552
-
7553
- class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
7554
- # @private
7555
- class Representation < Google::Apis::Core::JsonRepresentation
7556
- property :rendered_content, as: 'renderedContent'
7557
- property :sdk_blob, :base64 => true, as: 'sdkBlob'
7558
- end
7559
- end
7560
-
7561
7338
  class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
7562
7339
  # @private
7563
7340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7573,22 +7350,6 @@ module Google
7573
7350
  end
7574
7351
  end
7575
7352
 
7576
- class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent
7577
- # @private
7578
- class Representation < Google::Apis::Core::JsonRepresentation
7579
- collection :parts, as: 'parts', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart::Representation
7580
-
7581
- property :role, as: 'role'
7582
- end
7583
- end
7584
-
7585
- class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
7586
- # @private
7587
- class Representation < Google::Apis::Core::JsonRepresentation
7588
- property :text, as: 'text'
7589
- end
7590
- end
7591
-
7592
7353
  class GoogleCloudDiscoveryengineV1alphaGroundingFact
7593
7354
  # @private
7594
7355
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9140,6 +8901,7 @@ module Google
9140
8901
  class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo
9141
8902
  # @private
9142
8903
  class Representation < Google::Apis::Core::JsonRepresentation
8904
+ collection :classified_intents, as: 'classifiedIntents'
9143
8905
  property :extracted_filters, as: 'extractedFilters'
9144
8906
  property :rewritten_query, as: 'rewrittenQuery'
9145
8907
  property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
@@ -9807,6 +9569,8 @@ module Google
9807
9569
  property :allow_public_access, as: 'allowPublicAccess'
9808
9570
  collection :allowlisted_domains, as: 'allowlistedDomains'
9809
9571
  property :enable_web_app, as: 'enableWebApp'
9572
+ property :language_code, as: 'languageCode'
9573
+ property :workforce_identity_pool_provider, as: 'workforceIdentityPoolProvider'
9810
9574
  end
9811
9575
  end
9812
9576
 
@@ -9937,6 +9701,7 @@ module Google
9937
9701
  property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
9938
9702
  property :ignore_low_relevant_content, as: 'ignoreLowRelevantContent'
9939
9703
  property :ignore_non_answer_seeking_query, as: 'ignoreNonAnswerSeekingQuery'
9704
+ property :image_source, as: 'imageSource'
9940
9705
  property :language_code, as: 'languageCode'
9941
9706
  property :max_rephrase_steps, as: 'maxRephraseSteps'
9942
9707
  property :model_prompt_preamble, as: 'modelPromptPreamble'
@@ -10217,8 +9982,12 @@ module Google
10217
9982
  class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries
10218
9983
  # @private
10219
9984
  class Representation < Google::Apis::Core::JsonRepresentation
9985
+ property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
9986
+
10220
9987
  property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
10221
9988
 
9989
+ property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
9990
+
10222
9991
  property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
10223
9992
 
10224
9993
  end
@@ -10782,6 +10551,8 @@ module Google
10782
10551
 
10783
10552
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
10784
10553
 
10554
+ property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec::Representation
10555
+
10785
10556
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
10786
10557
 
10787
10558
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
@@ -10947,6 +10718,13 @@ module Google
10947
10718
  end
10948
10719
  end
10949
10720
 
10721
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
10722
+ # @private
10723
+ class Representation < Google::Apis::Core::JsonRepresentation
10724
+ property :match_highlighting_condition, as: 'matchHighlightingCondition'
10725
+ end
10726
+ end
10727
+
10950
10728
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
10951
10729
  # @private
10952
10730
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -233,39 +233,6 @@ module Google
233
233
  execute_or_queue_command(command, &block)
234
234
  end
235
235
 
236
- # Generates grounded content.
237
- # @param [String] location
238
- # Required. Location resource. Format: `projects/`project`/locations/`location``.
239
- # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest] google_cloud_discoveryengine_v1alpha_generate_grounded_content_request_object
240
- # @param [String] fields
241
- # Selector specifying which fields to include in a partial response.
242
- # @param [String] quota_user
243
- # Available to use for quota purposes for server-side applications. Can be any
244
- # arbitrary string assigned to a user, but should not exceed 40 characters.
245
- # @param [Google::Apis::RequestOptions] options
246
- # Request-specific options
247
- #
248
- # @yield [result, err] Result & error if block supplied
249
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse] parsed result object
250
- # @yieldparam err [StandardError] error object if request failed
251
- #
252
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse]
253
- #
254
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
255
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
256
- # @raise [Google::Apis::AuthorizationError] Authorization is required
257
- def generate_project_location_grounded_content(location, google_cloud_discoveryengine_v1alpha_generate_grounded_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
258
- command = make_simple_command(:post, 'v1alpha/{+location}:generateGroundedContent', options)
259
- command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest::Representation
260
- command.request_object = google_cloud_discoveryengine_v1alpha_generate_grounded_content_request_object
261
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse::Representation
262
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse
263
- command.params['location'] = location unless location.nil?
264
- command.query['fields'] = fields unless fields.nil?
265
- command.query['quotaUser'] = quota_user unless quota_user.nil?
266
- execute_or_queue_command(command, &block)
267
- end
268
-
269
236
  # Gets the AclConfig.
270
237
  # @param [String] name
271
238
  # Required. Resource name of AclConfig, such as `projects/*/locations/*/
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.54.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: