google-apis-discoveryengine_v1beta 0.56.0 → 0.57.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +91 -597
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +28 -300
- data/lib/google/apis/discoveryengine_v1beta/service.rb +0 -33
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 311ca0999c6635cb965e955c2ed6a519b77c21396098b098aec94efcdb4cca6b
|
4
|
+
data.tar.gz: e10f3f87d2c588d9105ee85a77aba393f2d60c4b27b80ff7e94ca1d1605ceec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40503eddd8ca46d43d3d1f9b664393c1f4ebf3d2542d5456acc523876d9f05d60592645be863eb1855a39155cf47b607425bc9dd42544ded3aea74861dc45605
|
7
|
+
data.tar.gz: 1a2cd97dbfb542a953b19ab5164fb19a6d8a587ba3c937a547a051503c647e50cef34d648924bb676f096e0fff341657e9a4a50f3305dec79c33edec28d04b41
|
data/CHANGELOG.md
CHANGED
@@ -5259,6 +5259,11 @@ module Google
|
|
5259
5259
|
# @return [Fixnum]
|
5260
5260
|
attr_accessor :indexed_record_count
|
5261
5261
|
|
5262
|
+
# Represents the progress of a sync run.
|
5263
|
+
# Corresponds to the JSON property `progress`
|
5264
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress]
|
5265
|
+
attr_accessor :progress
|
5266
|
+
|
5262
5267
|
# The number of requests sent to 3p API.
|
5263
5268
|
# Corresponds to the JSON property `sourceApiRequestCount`
|
5264
5269
|
# @return [Fixnum]
|
@@ -5297,6 +5302,7 @@ module Google
|
|
5297
5302
|
@errors = args[:errors] if args.key?(:errors)
|
5298
5303
|
@extracted_record_count = args[:extracted_record_count] if args.key?(:extracted_record_count)
|
5299
5304
|
@indexed_record_count = args[:indexed_record_count] if args.key?(:indexed_record_count)
|
5305
|
+
@progress = args[:progress] if args.key?(:progress)
|
5300
5306
|
@source_api_request_count = args[:source_api_request_count] if args.key?(:source_api_request_count)
|
5301
5307
|
@state = args[:state] if args.key?(:state)
|
5302
5308
|
@state_update_time = args[:state_update_time] if args.key?(:state_update_time)
|
@@ -5305,6 +5311,38 @@ module Google
|
|
5305
5311
|
end
|
5306
5312
|
end
|
5307
5313
|
|
5314
|
+
# Represents the progress of a sync run.
|
5315
|
+
class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
|
5316
|
+
include Google::Apis::Core::Hashable
|
5317
|
+
|
5318
|
+
# The current progress.
|
5319
|
+
# Corresponds to the JSON property `currentCount`
|
5320
|
+
# @return [Fixnum]
|
5321
|
+
attr_accessor :current_count
|
5322
|
+
|
5323
|
+
# Derived. The percentile of the progress.current_count / total_count. The value
|
5324
|
+
# is between [0, 1.0] inclusive.
|
5325
|
+
# Corresponds to the JSON property `percentile`
|
5326
|
+
# @return [Float]
|
5327
|
+
attr_accessor :percentile
|
5328
|
+
|
5329
|
+
# The total.
|
5330
|
+
# Corresponds to the JSON property `totalCount`
|
5331
|
+
# @return [Fixnum]
|
5332
|
+
attr_accessor :total_count
|
5333
|
+
|
5334
|
+
def initialize(**args)
|
5335
|
+
update!(**args)
|
5336
|
+
end
|
5337
|
+
|
5338
|
+
# Update properties of this object
|
5339
|
+
def update!(**args)
|
5340
|
+
@current_count = args[:current_count] if args.key?(:current_count)
|
5341
|
+
@percentile = args[:percentile] if args.key?(:percentile)
|
5342
|
+
@total_count = args[:total_count] if args.key?(:total_count)
|
5343
|
+
end
|
5344
|
+
end
|
5345
|
+
|
5308
5346
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
5309
5347
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
5310
5348
|
# `SolutionType`.
|
@@ -5853,6 +5891,13 @@ module Google
|
|
5853
5891
|
# @return [Array<String>]
|
5854
5892
|
attr_accessor :blocking_reasons
|
5855
5893
|
|
5894
|
+
# Output only. The type of connector. Each source can only map to one type. For
|
5895
|
+
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
5896
|
+
# is notmutable once set by system.
|
5897
|
+
# Corresponds to the JSON property `connectorType`
|
5898
|
+
# @return [String]
|
5899
|
+
attr_accessor :connector_type
|
5900
|
+
|
5856
5901
|
# Output only. Timestamp the DataConnector was created at.
|
5857
5902
|
# Corresponds to the JSON property `createTime`
|
5858
5903
|
# @return [String]
|
@@ -5972,6 +6017,11 @@ module Google
|
|
5972
6017
|
# @return [String]
|
5973
6018
|
attr_accessor :private_connectivity_project_id
|
5974
6019
|
|
6020
|
+
# Output only. real-time sync state
|
6021
|
+
# Corresponds to the JSON property `realtimeState`
|
6022
|
+
# @return [String]
|
6023
|
+
attr_accessor :realtime_state
|
6024
|
+
|
5975
6025
|
# Required. The refresh interval for data sync. If duration is set to 0, the
|
5976
6026
|
# data will be synced in real time. The streaming feature is not supported yet.
|
5977
6027
|
# The minimum is 30 minutes and maximum is 7 days.
|
@@ -6015,6 +6065,7 @@ module Google
|
|
6015
6065
|
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
|
6016
6066
|
@bap_config = args[:bap_config] if args.key?(:bap_config)
|
6017
6067
|
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
6068
|
+
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
6018
6069
|
@create_time = args[:create_time] if args.key?(:create_time)
|
6019
6070
|
@data_source = args[:data_source] if args.key?(:data_source)
|
6020
6071
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
@@ -6029,6 +6080,7 @@ module Google
|
|
6029
6080
|
@next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
|
6030
6081
|
@params = args[:params] if args.key?(:params)
|
6031
6082
|
@private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
|
6083
|
+
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
|
6032
6084
|
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
6033
6085
|
@state = args[:state] if args.key?(:state)
|
6034
6086
|
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
|
@@ -6344,11 +6396,21 @@ module Google
|
|
6344
6396
|
class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries
|
6345
6397
|
include Google::Apis::Core::Hashable
|
6346
6398
|
|
6399
|
+
# The historical crawl rate timeseries data, used for monitoring.
|
6400
|
+
# Corresponds to the JSON property `autoRefreshCrawlErrorRate`
|
6401
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
|
6402
|
+
attr_accessor :auto_refresh_crawl_error_rate
|
6403
|
+
|
6347
6404
|
# The historical crawl rate timeseries data, used for monitoring.
|
6348
6405
|
# Corresponds to the JSON property `autoRefreshCrawlRate`
|
6349
6406
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
|
6350
6407
|
attr_accessor :auto_refresh_crawl_rate
|
6351
6408
|
|
6409
|
+
# The historical crawl rate timeseries data, used for monitoring.
|
6410
|
+
# Corresponds to the JSON property `userTriggeredCrawlErrorRate`
|
6411
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
|
6412
|
+
attr_accessor :user_triggered_crawl_error_rate
|
6413
|
+
|
6352
6414
|
# The historical crawl rate timeseries data, used for monitoring.
|
6353
6415
|
# Corresponds to the JSON property `userTriggeredCrawlRate`
|
6354
6416
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
|
@@ -6360,7 +6422,9 @@ module Google
|
|
6360
6422
|
|
6361
6423
|
# Update properties of this object
|
6362
6424
|
def update!(**args)
|
6425
|
+
@auto_refresh_crawl_error_rate = args[:auto_refresh_crawl_error_rate] if args.key?(:auto_refresh_crawl_error_rate)
|
6363
6426
|
@auto_refresh_crawl_rate = args[:auto_refresh_crawl_rate] if args.key?(:auto_refresh_crawl_rate)
|
6427
|
+
@user_triggered_crawl_error_rate = args[:user_triggered_crawl_error_rate] if args.key?(:user_triggered_crawl_error_rate)
|
6364
6428
|
@user_triggered_crawl_rate = args[:user_triggered_crawl_rate] if args.key?(:user_triggered_crawl_rate)
|
6365
6429
|
end
|
6366
6430
|
end
|
@@ -9336,10 +9400,10 @@ module Google
|
|
9336
9400
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
9337
9401
|
attr_accessor :custom_fine_tuning_spec
|
9338
9402
|
|
9339
|
-
#
|
9340
|
-
# those data stores. This is only considered for Engines
|
9341
|
-
# stores. For engines with a single data store, the specs
|
9342
|
-
# SearchRequest should be used.
|
9403
|
+
# Specifications that define the specific [DataStore]s to be searched, along
|
9404
|
+
# with configurations for those data stores. This is only considered for Engines
|
9405
|
+
# with multiple data stores. For engines with a single data store, the specs
|
9406
|
+
# directly under SearchRequest should be used.
|
9343
9407
|
# Corresponds to the JSON property `dataStoreSpecs`
|
9344
9408
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
9345
9409
|
attr_accessor :data_store_specs
|
@@ -15563,11 +15627,21 @@ module Google
|
|
15563
15627
|
class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries
|
15564
15628
|
include Google::Apis::Core::Hashable
|
15565
15629
|
|
15630
|
+
# The historical crawl rate timeseries data, used for monitoring.
|
15631
|
+
# Corresponds to the JSON property `autoRefreshCrawlErrorRate`
|
15632
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries]
|
15633
|
+
attr_accessor :auto_refresh_crawl_error_rate
|
15634
|
+
|
15566
15635
|
# The historical crawl rate timeseries data, used for monitoring.
|
15567
15636
|
# Corresponds to the JSON property `autoRefreshCrawlRate`
|
15568
15637
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries]
|
15569
15638
|
attr_accessor :auto_refresh_crawl_rate
|
15570
15639
|
|
15640
|
+
# The historical crawl rate timeseries data, used for monitoring.
|
15641
|
+
# Corresponds to the JSON property `userTriggeredCrawlErrorRate`
|
15642
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries]
|
15643
|
+
attr_accessor :user_triggered_crawl_error_rate
|
15644
|
+
|
15571
15645
|
# The historical crawl rate timeseries data, used for monitoring.
|
15572
15646
|
# Corresponds to the JSON property `userTriggeredCrawlRate`
|
15573
15647
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries]
|
@@ -15579,7 +15653,9 @@ module Google
|
|
15579
15653
|
|
15580
15654
|
# Update properties of this object
|
15581
15655
|
def update!(**args)
|
15656
|
+
@auto_refresh_crawl_error_rate = args[:auto_refresh_crawl_error_rate] if args.key?(:auto_refresh_crawl_error_rate)
|
15582
15657
|
@auto_refresh_crawl_rate = args[:auto_refresh_crawl_rate] if args.key?(:auto_refresh_crawl_rate)
|
15658
|
+
@user_triggered_crawl_error_rate = args[:user_triggered_crawl_error_rate] if args.key?(:user_triggered_crawl_error_rate)
|
15583
15659
|
@user_triggered_crawl_rate = args[:user_triggered_crawl_rate] if args.key?(:user_triggered_crawl_rate)
|
15584
15660
|
end
|
15585
15661
|
end
|
@@ -16925,594 +17001,6 @@ module Google
|
|
16925
17001
|
end
|
16926
17002
|
end
|
16927
17003
|
|
16928
|
-
# Top-level message sent by the client for the `GenerateGroundedContent` method.
|
16929
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest
|
16930
|
-
include Google::Apis::Core::Hashable
|
16931
|
-
|
16932
|
-
# Content of the current conversation with the model. For single-turn queries,
|
16933
|
-
# this is a single instance. For multi-turn queries, this is a repeated field
|
16934
|
-
# that contains conversation history + latest request.
|
16935
|
-
# Corresponds to the JSON property `contents`
|
16936
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent>]
|
16937
|
-
attr_accessor :contents
|
16938
|
-
|
16939
|
-
# Content generation specification.
|
16940
|
-
# Corresponds to the JSON property `generationSpec`
|
16941
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec]
|
16942
|
-
attr_accessor :generation_spec
|
16943
|
-
|
16944
|
-
# Grounding specification.
|
16945
|
-
# Corresponds to the JSON property `groundingSpec`
|
16946
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec]
|
16947
|
-
attr_accessor :grounding_spec
|
16948
|
-
|
16949
|
-
# Base structured datatype containing multi-part content of a message.
|
16950
|
-
# Corresponds to the JSON property `systemInstruction`
|
16951
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent]
|
16952
|
-
attr_accessor :system_instruction
|
16953
|
-
|
16954
|
-
# The user labels applied to a resource must meet the following requirements: *
|
16955
|
-
# Each resource can have multiple labels, up to a maximum of 64. * Each label
|
16956
|
-
# must be a key-value pair. * Keys have a minimum length of 1 character and a
|
16957
|
-
# maximum length of 63 characters and cannot be empty. Values can be empty and
|
16958
|
-
# have a maximum length of 63 characters. * Keys and values can contain only
|
16959
|
-
# lowercase letters, numeric characters, underscores, and dashes. All characters
|
16960
|
-
# must use UTF-8 encoding, and international characters are allowed. * The key
|
16961
|
-
# portion of a label must be unique. However, you can use the same key with
|
16962
|
-
# multiple resources. * Keys must start with a lowercase letter or international
|
16963
|
-
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
16964
|
-
# manager/docs/creating-managing-labels#requirements) for more details.
|
16965
|
-
# Corresponds to the JSON property `userLabels`
|
16966
|
-
# @return [Hash<String,String>]
|
16967
|
-
attr_accessor :user_labels
|
16968
|
-
|
16969
|
-
def initialize(**args)
|
16970
|
-
update!(**args)
|
16971
|
-
end
|
16972
|
-
|
16973
|
-
# Update properties of this object
|
16974
|
-
def update!(**args)
|
16975
|
-
@contents = args[:contents] if args.key?(:contents)
|
16976
|
-
@generation_spec = args[:generation_spec] if args.key?(:generation_spec)
|
16977
|
-
@grounding_spec = args[:grounding_spec] if args.key?(:grounding_spec)
|
16978
|
-
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
16979
|
-
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
16980
|
-
end
|
16981
|
-
end
|
16982
|
-
|
16983
|
-
# Describes the options to customize dynamic retrieval.
|
16984
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration
|
16985
|
-
include Google::Apis::Core::Hashable
|
16986
|
-
|
16987
|
-
# Describes the predictor settings for dynamic retrieval.
|
16988
|
-
# Corresponds to the JSON property `predictor`
|
16989
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor]
|
16990
|
-
attr_accessor :predictor
|
16991
|
-
|
16992
|
-
def initialize(**args)
|
16993
|
-
update!(**args)
|
16994
|
-
end
|
16995
|
-
|
16996
|
-
# Update properties of this object
|
16997
|
-
def update!(**args)
|
16998
|
-
@predictor = args[:predictor] if args.key?(:predictor)
|
16999
|
-
end
|
17000
|
-
end
|
17001
|
-
|
17002
|
-
# Describes the predictor settings for dynamic retrieval.
|
17003
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
|
17004
|
-
include Google::Apis::Core::Hashable
|
17005
|
-
|
17006
|
-
# The value of the threshold. If the predictor will predict a value smaller than
|
17007
|
-
# this, it would suppress grounding in the source.
|
17008
|
-
# Corresponds to the JSON property `threshold`
|
17009
|
-
# @return [Float]
|
17010
|
-
attr_accessor :threshold
|
17011
|
-
|
17012
|
-
# The version of the predictor to be used in dynamic retrieval.
|
17013
|
-
# Corresponds to the JSON property `version`
|
17014
|
-
# @return [String]
|
17015
|
-
attr_accessor :version
|
17016
|
-
|
17017
|
-
def initialize(**args)
|
17018
|
-
update!(**args)
|
17019
|
-
end
|
17020
|
-
|
17021
|
-
# Update properties of this object
|
17022
|
-
def update!(**args)
|
17023
|
-
@threshold = args[:threshold] if args.key?(:threshold)
|
17024
|
-
@version = args[:version] if args.key?(:version)
|
17025
|
-
end
|
17026
|
-
end
|
17027
|
-
|
17028
|
-
# Content generation specification.
|
17029
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec
|
17030
|
-
include Google::Apis::Core::Hashable
|
17031
|
-
|
17032
|
-
# If specified, custom value for frequency penalty will be used.
|
17033
|
-
# Corresponds to the JSON property `frequencyPenalty`
|
17034
|
-
# @return [Float]
|
17035
|
-
attr_accessor :frequency_penalty
|
17036
|
-
|
17037
|
-
# Language code for content. Use language tags defined by [BCP47](https://www.
|
17038
|
-
# rfc-editor.org/rfc/bcp/bcp47.txt).
|
17039
|
-
# Corresponds to the JSON property `languageCode`
|
17040
|
-
# @return [String]
|
17041
|
-
attr_accessor :language_code
|
17042
|
-
|
17043
|
-
# If specified, custom value for max output tokens will be used.
|
17044
|
-
# Corresponds to the JSON property `maxOutputTokens`
|
17045
|
-
# @return [Fixnum]
|
17046
|
-
attr_accessor :max_output_tokens
|
17047
|
-
|
17048
|
-
# Specifies which Vertex model id to use for generation.
|
17049
|
-
# Corresponds to the JSON property `modelId`
|
17050
|
-
# @return [String]
|
17051
|
-
attr_accessor :model_id
|
17052
|
-
|
17053
|
-
# If specified, custom value for presence penalty will be used.
|
17054
|
-
# Corresponds to the JSON property `presencePenalty`
|
17055
|
-
# @return [Float]
|
17056
|
-
attr_accessor :presence_penalty
|
17057
|
-
|
17058
|
-
# If specified, custom value for the seed will be used.
|
17059
|
-
# Corresponds to the JSON property `seed`
|
17060
|
-
# @return [Fixnum]
|
17061
|
-
attr_accessor :seed
|
17062
|
-
|
17063
|
-
# If specified, custom value for the temperature will be used.
|
17064
|
-
# Corresponds to the JSON property `temperature`
|
17065
|
-
# @return [Float]
|
17066
|
-
attr_accessor :temperature
|
17067
|
-
|
17068
|
-
# If specified, custom value for top-k sampling will be used.
|
17069
|
-
# Corresponds to the JSON property `topK`
|
17070
|
-
# @return [Fixnum]
|
17071
|
-
attr_accessor :top_k
|
17072
|
-
|
17073
|
-
# If specified, custom value for nucleus sampling will be used.
|
17074
|
-
# Corresponds to the JSON property `topP`
|
17075
|
-
# @return [Float]
|
17076
|
-
attr_accessor :top_p
|
17077
|
-
|
17078
|
-
def initialize(**args)
|
17079
|
-
update!(**args)
|
17080
|
-
end
|
17081
|
-
|
17082
|
-
# Update properties of this object
|
17083
|
-
def update!(**args)
|
17084
|
-
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
17085
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
17086
|
-
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
17087
|
-
@model_id = args[:model_id] if args.key?(:model_id)
|
17088
|
-
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
17089
|
-
@seed = args[:seed] if args.key?(:seed)
|
17090
|
-
@temperature = args[:temperature] if args.key?(:temperature)
|
17091
|
-
@top_k = args[:top_k] if args.key?(:top_k)
|
17092
|
-
@top_p = args[:top_p] if args.key?(:top_p)
|
17093
|
-
end
|
17094
|
-
end
|
17095
|
-
|
17096
|
-
# Grounding source.
|
17097
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
|
17098
|
-
include Google::Apis::Core::Hashable
|
17099
|
-
|
17100
|
-
# Google Search config parameters.
|
17101
|
-
# Corresponds to the JSON property `googleSearchSource`
|
17102
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource]
|
17103
|
-
attr_accessor :google_search_source
|
17104
|
-
|
17105
|
-
# Message to be used for grounding based on inline content.
|
17106
|
-
# Corresponds to the JSON property `inlineSource`
|
17107
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource]
|
17108
|
-
attr_accessor :inline_source
|
17109
|
-
|
17110
|
-
# Message to be used for grounding with Vertex AI Search.
|
17111
|
-
# Corresponds to the JSON property `searchSource`
|
17112
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource]
|
17113
|
-
attr_accessor :search_source
|
17114
|
-
|
17115
|
-
def initialize(**args)
|
17116
|
-
update!(**args)
|
17117
|
-
end
|
17118
|
-
|
17119
|
-
# Update properties of this object
|
17120
|
-
def update!(**args)
|
17121
|
-
@google_search_source = args[:google_search_source] if args.key?(:google_search_source)
|
17122
|
-
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
17123
|
-
@search_source = args[:search_source] if args.key?(:search_source)
|
17124
|
-
end
|
17125
|
-
end
|
17126
|
-
|
17127
|
-
# Google Search config parameters.
|
17128
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
|
17129
|
-
include Google::Apis::Core::Hashable
|
17130
|
-
|
17131
|
-
# Describes the options to customize dynamic retrieval.
|
17132
|
-
# Corresponds to the JSON property `dynamicRetrievalConfig`
|
17133
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration]
|
17134
|
-
attr_accessor :dynamic_retrieval_config
|
17135
|
-
|
17136
|
-
def initialize(**args)
|
17137
|
-
update!(**args)
|
17138
|
-
end
|
17139
|
-
|
17140
|
-
# Update properties of this object
|
17141
|
-
def update!(**args)
|
17142
|
-
@dynamic_retrieval_config = args[:dynamic_retrieval_config] if args.key?(:dynamic_retrieval_config)
|
17143
|
-
end
|
17144
|
-
end
|
17145
|
-
|
17146
|
-
# Message to be used for grounding based on inline content.
|
17147
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource
|
17148
|
-
include Google::Apis::Core::Hashable
|
17149
|
-
|
17150
|
-
# Attributes associated with the content. Common attributes include `source` (
|
17151
|
-
# indicating where the content was sourced from) and `author` (indicating the
|
17152
|
-
# author of the content).
|
17153
|
-
# Corresponds to the JSON property `attributes`
|
17154
|
-
# @return [Hash<String,String>]
|
17155
|
-
attr_accessor :attributes
|
17156
|
-
|
17157
|
-
# List of facts to be used for grounding.
|
17158
|
-
# Corresponds to the JSON property `groundingFacts`
|
17159
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundingFact>]
|
17160
|
-
attr_accessor :grounding_facts
|
17161
|
-
|
17162
|
-
def initialize(**args)
|
17163
|
-
update!(**args)
|
17164
|
-
end
|
17165
|
-
|
17166
|
-
# Update properties of this object
|
17167
|
-
def update!(**args)
|
17168
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
17169
|
-
@grounding_facts = args[:grounding_facts] if args.key?(:grounding_facts)
|
17170
|
-
end
|
17171
|
-
end
|
17172
|
-
|
17173
|
-
# Message to be used for grounding with Vertex AI Search.
|
17174
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource
|
17175
|
-
include Google::Apis::Core::Hashable
|
17176
|
-
|
17177
|
-
# Filter expression to be applied to the search. The syntax is the same as
|
17178
|
-
# SearchRequest.filter.
|
17179
|
-
# Corresponds to the JSON property `filter`
|
17180
|
-
# @return [String]
|
17181
|
-
attr_accessor :filter
|
17182
|
-
|
17183
|
-
# Number of search results to return. The default value is 10. The maximumm
|
17184
|
-
# allowed value is 10.
|
17185
|
-
# Corresponds to the JSON property `maxResultCount`
|
17186
|
-
# @return [Fixnum]
|
17187
|
-
attr_accessor :max_result_count
|
17188
|
-
|
17189
|
-
# If set, safe search is enabled in Vertex AI Search requests.
|
17190
|
-
# Corresponds to the JSON property `safeSearch`
|
17191
|
-
# @return [Boolean]
|
17192
|
-
attr_accessor :safe_search
|
17193
|
-
alias_method :safe_search?, :safe_search
|
17194
|
-
|
17195
|
-
# The resource name of the Engine to use. Format: `projects/`project`/locations/`
|
17196
|
-
# location`/collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
17197
|
-
# serving_config_id``
|
17198
|
-
# Corresponds to the JSON property `servingConfig`
|
17199
|
-
# @return [String]
|
17200
|
-
attr_accessor :serving_config
|
17201
|
-
|
17202
|
-
def initialize(**args)
|
17203
|
-
update!(**args)
|
17204
|
-
end
|
17205
|
-
|
17206
|
-
# Update properties of this object
|
17207
|
-
def update!(**args)
|
17208
|
-
@filter = args[:filter] if args.key?(:filter)
|
17209
|
-
@max_result_count = args[:max_result_count] if args.key?(:max_result_count)
|
17210
|
-
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
17211
|
-
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
17212
|
-
end
|
17213
|
-
end
|
17214
|
-
|
17215
|
-
# Grounding specification.
|
17216
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec
|
17217
|
-
include Google::Apis::Core::Hashable
|
17218
|
-
|
17219
|
-
# Grounding sources.
|
17220
|
-
# Corresponds to the JSON property `groundingSources`
|
17221
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource>]
|
17222
|
-
attr_accessor :grounding_sources
|
17223
|
-
|
17224
|
-
def initialize(**args)
|
17225
|
-
update!(**args)
|
17226
|
-
end
|
17227
|
-
|
17228
|
-
# Update properties of this object
|
17229
|
-
def update!(**args)
|
17230
|
-
@grounding_sources = args[:grounding_sources] if args.key?(:grounding_sources)
|
17231
|
-
end
|
17232
|
-
end
|
17233
|
-
|
17234
|
-
# Response for the `GenerateGroundedContent` method.
|
17235
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse
|
17236
|
-
include Google::Apis::Core::Hashable
|
17237
|
-
|
17238
|
-
# Generated candidates.
|
17239
|
-
# Corresponds to the JSON property `candidates`
|
17240
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate>]
|
17241
|
-
attr_accessor :candidates
|
17242
|
-
|
17243
|
-
def initialize(**args)
|
17244
|
-
update!(**args)
|
17245
|
-
end
|
17246
|
-
|
17247
|
-
# Update properties of this object
|
17248
|
-
def update!(**args)
|
17249
|
-
@candidates = args[:candidates] if args.key?(:candidates)
|
17250
|
-
end
|
17251
|
-
end
|
17252
|
-
|
17253
|
-
# A response candidate generated from the model.
|
17254
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate
|
17255
|
-
include Google::Apis::Core::Hashable
|
17256
|
-
|
17257
|
-
# Base structured datatype containing multi-part content of a message.
|
17258
|
-
# Corresponds to the JSON property `content`
|
17259
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContent]
|
17260
|
-
attr_accessor :content
|
17261
|
-
|
17262
|
-
# Citation for the generated content.
|
17263
|
-
# Corresponds to the JSON property `groundingMetadata`
|
17264
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata]
|
17265
|
-
attr_accessor :grounding_metadata
|
17266
|
-
|
17267
|
-
# The overall grounding score for the candidate, in the range of [0, 1].
|
17268
|
-
# Corresponds to the JSON property `groundingScore`
|
17269
|
-
# @return [Float]
|
17270
|
-
attr_accessor :grounding_score
|
17271
|
-
|
17272
|
-
# Index of the candidate.
|
17273
|
-
# Corresponds to the JSON property `index`
|
17274
|
-
# @return [Fixnum]
|
17275
|
-
attr_accessor :index
|
17276
|
-
|
17277
|
-
def initialize(**args)
|
17278
|
-
update!(**args)
|
17279
|
-
end
|
17280
|
-
|
17281
|
-
# Update properties of this object
|
17282
|
-
def update!(**args)
|
17283
|
-
@content = args[:content] if args.key?(:content)
|
17284
|
-
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
17285
|
-
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
17286
|
-
@index = args[:index] if args.key?(:index)
|
17287
|
-
end
|
17288
|
-
end
|
17289
|
-
|
17290
|
-
# Citation for the generated content.
|
17291
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata
|
17292
|
-
include Google::Apis::Core::Hashable
|
17293
|
-
|
17294
|
-
# GroundingSupport across all claims in the answer candidate. An support to a
|
17295
|
-
# fact indicates that the claim is supported by the fact.
|
17296
|
-
# Corresponds to the JSON property `groundingSupport`
|
17297
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport>]
|
17298
|
-
attr_accessor :grounding_support
|
17299
|
-
|
17300
|
-
# Retrieval metadata to provide an understanding in the retrieval steps
|
17301
|
-
# performed by the model. There can be multiple such messages which can
|
17302
|
-
# correspond to different parts of the retrieval. This is a mechanism used to
|
17303
|
-
# ensure transparency to our users.
|
17304
|
-
# Corresponds to the JSON property `retrievalMetadata`
|
17305
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata>]
|
17306
|
-
attr_accessor :retrieval_metadata
|
17307
|
-
|
17308
|
-
# Google search entry point.
|
17309
|
-
# Corresponds to the JSON property `searchEntryPoint`
|
17310
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint]
|
17311
|
-
attr_accessor :search_entry_point
|
17312
|
-
|
17313
|
-
# List of chunks to be attributed across all claims in the candidate. These are
|
17314
|
-
# derived from the grounding sources supplied in the request.
|
17315
|
-
# Corresponds to the JSON property `supportChunks`
|
17316
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFactChunk>]
|
17317
|
-
attr_accessor :support_chunks
|
17318
|
-
|
17319
|
-
# Web search queries for the following-up web search.
|
17320
|
-
# Corresponds to the JSON property `webSearchQueries`
|
17321
|
-
# @return [Array<String>]
|
17322
|
-
attr_accessor :web_search_queries
|
17323
|
-
|
17324
|
-
def initialize(**args)
|
17325
|
-
update!(**args)
|
17326
|
-
end
|
17327
|
-
|
17328
|
-
# Update properties of this object
|
17329
|
-
def update!(**args)
|
17330
|
-
@grounding_support = args[:grounding_support] if args.key?(:grounding_support)
|
17331
|
-
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
|
17332
|
-
@search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
|
17333
|
-
@support_chunks = args[:support_chunks] if args.key?(:support_chunks)
|
17334
|
-
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
17335
|
-
end
|
17336
|
-
end
|
17337
|
-
|
17338
|
-
# Describes the metadata about dynamic retrieval.
|
17339
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
|
17340
|
-
include Google::Apis::Core::Hashable
|
17341
|
-
|
17342
|
-
# Describes the metadata about the dynamic retrieval predictor.
|
17343
|
-
# Corresponds to the JSON property `predictorMetadata`
|
17344
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata]
|
17345
|
-
attr_accessor :predictor_metadata
|
17346
|
-
|
17347
|
-
def initialize(**args)
|
17348
|
-
update!(**args)
|
17349
|
-
end
|
17350
|
-
|
17351
|
-
# Update properties of this object
|
17352
|
-
def update!(**args)
|
17353
|
-
@predictor_metadata = args[:predictor_metadata] if args.key?(:predictor_metadata)
|
17354
|
-
end
|
17355
|
-
end
|
17356
|
-
|
17357
|
-
# Describes the metadata about the dynamic retrieval predictor.
|
17358
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
|
17359
|
-
include Google::Apis::Core::Hashable
|
17360
|
-
|
17361
|
-
# The value of the predictor. This should be between [0, 1] where a value of 0
|
17362
|
-
# means that the query would not benefit from grounding, while a value of 1.0
|
17363
|
-
# means that the query would benefit the most. In between values allow to
|
17364
|
-
# differentiate between different usefulness scores for grounding.
|
17365
|
-
# Corresponds to the JSON property `prediction`
|
17366
|
-
# @return [Float]
|
17367
|
-
attr_accessor :prediction
|
17368
|
-
|
17369
|
-
# The version of the predictor which was used in dynamic retrieval.
|
17370
|
-
# Corresponds to the JSON property `version`
|
17371
|
-
# @return [String]
|
17372
|
-
attr_accessor :version
|
17373
|
-
|
17374
|
-
def initialize(**args)
|
17375
|
-
update!(**args)
|
17376
|
-
end
|
17377
|
-
|
17378
|
-
# Update properties of this object
|
17379
|
-
def update!(**args)
|
17380
|
-
@prediction = args[:prediction] if args.key?(:prediction)
|
17381
|
-
@version = args[:version] if args.key?(:version)
|
17382
|
-
end
|
17383
|
-
end
|
17384
|
-
|
17385
|
-
# Grounding info for a claim in the candidate and its support.
|
17386
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
|
17387
|
-
include Google::Apis::Core::Hashable
|
17388
|
-
|
17389
|
-
# Text for the claim in the candidate. Always provided when a support is found.
|
17390
|
-
# Corresponds to the JSON property `claimText`
|
17391
|
-
# @return [String]
|
17392
|
-
attr_accessor :claim_text
|
17393
|
-
|
17394
|
-
# A list of indices (into 'support_chunks') specifying the citations associated
|
17395
|
-
# with the claim. For instance [1,3,4] means that support_chunks[1],
|
17396
|
-
# support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
|
17397
|
-
# Corresponds to the JSON property `supportChunkIndices`
|
17398
|
-
# @return [Array<Fixnum>]
|
17399
|
-
attr_accessor :support_chunk_indices
|
17400
|
-
|
17401
|
-
# A score in the range of [0, 1] describing how grounded is a specific claim in
|
17402
|
-
# the support chunks indicated. Higher value means that the claim is better
|
17403
|
-
# supported by the chunks.
|
17404
|
-
# Corresponds to the JSON property `supportScore`
|
17405
|
-
# @return [Float]
|
17406
|
-
attr_accessor :support_score
|
17407
|
-
|
17408
|
-
def initialize(**args)
|
17409
|
-
update!(**args)
|
17410
|
-
end
|
17411
|
-
|
17412
|
-
# Update properties of this object
|
17413
|
-
def update!(**args)
|
17414
|
-
@claim_text = args[:claim_text] if args.key?(:claim_text)
|
17415
|
-
@support_chunk_indices = args[:support_chunk_indices] if args.key?(:support_chunk_indices)
|
17416
|
-
@support_score = args[:support_score] if args.key?(:support_score)
|
17417
|
-
end
|
17418
|
-
end
|
17419
|
-
|
17420
|
-
# Describes the metadata associated with a retrieval step.
|
17421
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
|
17422
|
-
include Google::Apis::Core::Hashable
|
17423
|
-
|
17424
|
-
# Describes the metadata about dynamic retrieval.
|
17425
|
-
# Corresponds to the JSON property `dynamicRetrievalMetadata`
|
17426
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata]
|
17427
|
-
attr_accessor :dynamic_retrieval_metadata
|
17428
|
-
|
17429
|
-
# Describes the source to which the metadata is referring to.
|
17430
|
-
# Corresponds to the JSON property `source`
|
17431
|
-
# @return [String]
|
17432
|
-
attr_accessor :source
|
17433
|
-
|
17434
|
-
def initialize(**args)
|
17435
|
-
update!(**args)
|
17436
|
-
end
|
17437
|
-
|
17438
|
-
# Update properties of this object
|
17439
|
-
def update!(**args)
|
17440
|
-
@dynamic_retrieval_metadata = args[:dynamic_retrieval_metadata] if args.key?(:dynamic_retrieval_metadata)
|
17441
|
-
@source = args[:source] if args.key?(:source)
|
17442
|
-
end
|
17443
|
-
end
|
17444
|
-
|
17445
|
-
# Google search entry point.
|
17446
|
-
class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
|
17447
|
-
include Google::Apis::Core::Hashable
|
17448
|
-
|
17449
|
-
# Web content snippet that can be embedded in a web page or an app webview.
|
17450
|
-
# Corresponds to the JSON property `renderedContent`
|
17451
|
-
# @return [String]
|
17452
|
-
attr_accessor :rendered_content
|
17453
|
-
|
17454
|
-
# Base64 encoded JSON representing array of tuple.
|
17455
|
-
# Corresponds to the JSON property `sdkBlob`
|
17456
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
17457
|
-
# @return [String]
|
17458
|
-
attr_accessor :sdk_blob
|
17459
|
-
|
17460
|
-
def initialize(**args)
|
17461
|
-
update!(**args)
|
17462
|
-
end
|
17463
|
-
|
17464
|
-
# Update properties of this object
|
17465
|
-
def update!(**args)
|
17466
|
-
@rendered_content = args[:rendered_content] if args.key?(:rendered_content)
|
17467
|
-
@sdk_blob = args[:sdk_blob] if args.key?(:sdk_blob)
|
17468
|
-
end
|
17469
|
-
end
|
17470
|
-
|
17471
|
-
# Base structured datatype containing multi-part content of a message.
|
17472
|
-
class GoogleCloudDiscoveryengineV1betaGroundedGenerationContent
|
17473
|
-
include Google::Apis::Core::Hashable
|
17474
|
-
|
17475
|
-
# Ordered `Parts` that constitute a single message.
|
17476
|
-
# Corresponds to the JSON property `parts`
|
17477
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart>]
|
17478
|
-
attr_accessor :parts
|
17479
|
-
|
17480
|
-
# Producer of the content. Must be either `user` or `model`. Intended to be used
|
17481
|
-
# for multi-turn conversations. Otherwise, it can be left unset.
|
17482
|
-
# Corresponds to the JSON property `role`
|
17483
|
-
# @return [String]
|
17484
|
-
attr_accessor :role
|
17485
|
-
|
17486
|
-
def initialize(**args)
|
17487
|
-
update!(**args)
|
17488
|
-
end
|
17489
|
-
|
17490
|
-
# Update properties of this object
|
17491
|
-
def update!(**args)
|
17492
|
-
@parts = args[:parts] if args.key?(:parts)
|
17493
|
-
@role = args[:role] if args.key?(:role)
|
17494
|
-
end
|
17495
|
-
end
|
17496
|
-
|
17497
|
-
# Single part of content.
|
17498
|
-
class GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
|
17499
|
-
include Google::Apis::Core::Hashable
|
17500
|
-
|
17501
|
-
# Inline text.
|
17502
|
-
# Corresponds to the JSON property `text`
|
17503
|
-
# @return [String]
|
17504
|
-
attr_accessor :text
|
17505
|
-
|
17506
|
-
def initialize(**args)
|
17507
|
-
update!(**args)
|
17508
|
-
end
|
17509
|
-
|
17510
|
-
# Update properties of this object
|
17511
|
-
def update!(**args)
|
17512
|
-
@text = args[:text] if args.key?(:text)
|
17513
|
-
end
|
17514
|
-
end
|
17515
|
-
|
17516
17004
|
# Grounding Fact.
|
17517
17005
|
class GoogleCloudDiscoveryengineV1betaGroundingFact
|
17518
17006
|
include Google::Apis::Core::Hashable
|
@@ -19839,7 +19327,7 @@ module Google
|
|
19839
19327
|
alias_method :ignore_record_details_in_response?, :ignore_record_details_in_response
|
19840
19328
|
|
19841
19329
|
# The identifier of the model to use. It is one of: * `semantic-ranker-512@
|
19842
|
-
# latest`: Semantic ranking model with
|
19330
|
+
# latest`: Semantic ranking model with maximum input token size 512. It is set
|
19843
19331
|
# to `semantic-ranker-512@latest` by default if unspecified.
|
19844
19332
|
# Corresponds to the JSON property `model`
|
19845
19333
|
# @return [String]
|
@@ -20721,10 +20209,10 @@ module Google
|
|
20721
20209
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
|
20722
20210
|
attr_accessor :content_search_spec
|
20723
20211
|
|
20724
|
-
#
|
20725
|
-
# those data stores. This is only considered for Engines
|
20726
|
-
# stores. For engines with a single data store, the specs
|
20727
|
-
# SearchRequest should be used.
|
20212
|
+
# Specifications that define the specific [DataStore]s to be searched, along
|
20213
|
+
# with configurations for those data stores. This is only considered for Engines
|
20214
|
+
# with multiple data stores. For engines with a single data store, the specs
|
20215
|
+
# directly under SearchRequest should be used.
|
20728
20216
|
# Corresponds to the JSON property `dataStoreSpecs`
|
20729
20217
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
|
20730
20218
|
attr_accessor :data_store_specs
|
@@ -22229,6 +21717,11 @@ module Google
|
|
22229
21717
|
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo
|
22230
21718
|
include Google::Apis::Core::Hashable
|
22231
21719
|
|
21720
|
+
# The classified intents from the input query.
|
21721
|
+
# Corresponds to the JSON property `classifiedIntents`
|
21722
|
+
# @return [Array<String>]
|
21723
|
+
attr_accessor :classified_intents
|
21724
|
+
|
22232
21725
|
# The filters that were extracted from the input query.
|
22233
21726
|
# Corresponds to the JSON property `extractedFilters`
|
22234
21727
|
# @return [String]
|
@@ -22257,6 +21750,7 @@ module Google
|
|
22257
21750
|
|
22258
21751
|
# Update properties of this object
|
22259
21752
|
def update!(**args)
|
21753
|
+
@classified_intents = args[:classified_intents] if args.key?(:classified_intents)
|
22260
21754
|
@extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
|
22261
21755
|
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
|
22262
21756
|
@sql_request = args[:sql_request] if args.key?(:sql_request)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
25
|
+
REVISION = "20250306"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -874,6 +874,12 @@ module Google
|
|
874
874
|
include Google::Apis::Core::JsonObjectSupport
|
875
875
|
end
|
876
876
|
|
877
|
+
class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
877
883
|
class GoogleCloudDiscoveryengineV1alphaControl
|
878
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
885
|
|
@@ -2758,120 +2764,6 @@ module Google
|
|
2758
2764
|
include Google::Apis::Core::JsonObjectSupport
|
2759
2765
|
end
|
2760
2766
|
|
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
2767
|
class GoogleCloudDiscoveryengineV1betaGroundingFact
|
2876
2768
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2877
2769
|
|
@@ -5434,6 +5326,8 @@ module Google
|
|
5434
5326
|
|
5435
5327
|
property :extracted_record_count, :numeric_string => true, as: 'extractedRecordCount'
|
5436
5328
|
property :indexed_record_count, :numeric_string => true, as: 'indexedRecordCount'
|
5329
|
+
property :progress, as: 'progress', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress::Representation
|
5330
|
+
|
5437
5331
|
property :source_api_request_count, :numeric_string => true, as: 'sourceApiRequestCount'
|
5438
5332
|
property :state, as: 'state'
|
5439
5333
|
property :state_update_time, as: 'stateUpdateTime'
|
@@ -5442,6 +5336,15 @@ module Google
|
|
5442
5336
|
end
|
5443
5337
|
end
|
5444
5338
|
|
5339
|
+
class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
|
5340
|
+
# @private
|
5341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5342
|
+
property :current_count, :numeric_string => true, as: 'currentCount'
|
5343
|
+
property :percentile, as: 'percentile'
|
5344
|
+
property :total_count, :numeric_string => true, as: 'totalCount'
|
5345
|
+
end
|
5346
|
+
end
|
5347
|
+
|
5445
5348
|
class GoogleCloudDiscoveryengineV1alphaControl
|
5446
5349
|
# @private
|
5447
5350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5597,6 +5500,7 @@ module Google
|
|
5597
5500
|
property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
|
5598
5501
|
|
5599
5502
|
collection :blocking_reasons, as: 'blockingReasons'
|
5503
|
+
property :connector_type, as: 'connectorType'
|
5600
5504
|
property :create_time, as: 'createTime'
|
5601
5505
|
property :data_source, as: 'dataSource'
|
5602
5506
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
|
@@ -5616,6 +5520,7 @@ module Google
|
|
5616
5520
|
|
5617
5521
|
hash :params, as: 'params'
|
5618
5522
|
property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
|
5523
|
+
property :realtime_state, as: 'realtimeState'
|
5619
5524
|
property :refresh_interval, as: 'refreshInterval'
|
5620
5525
|
property :state, as: 'state'
|
5621
5526
|
collection :static_ip_addresses, as: 'staticIpAddresses'
|
@@ -5700,8 +5605,12 @@ module Google
|
|
5700
5605
|
class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries
|
5701
5606
|
# @private
|
5702
5607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5608
|
+
property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
|
5609
|
+
|
5703
5610
|
property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
|
5704
5611
|
|
5612
|
+
property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
|
5613
|
+
|
5705
5614
|
property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries::Representation
|
5706
5615
|
|
5707
5616
|
end
|
@@ -8208,8 +8117,12 @@ module Google
|
|
8208
8117
|
class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries
|
8209
8118
|
# @private
|
8210
8119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8120
|
+
property :auto_refresh_crawl_error_rate, as: 'autoRefreshCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
|
8121
|
+
|
8211
8122
|
property :auto_refresh_crawl_rate, as: 'autoRefreshCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
|
8212
8123
|
|
8124
|
+
property :user_triggered_crawl_error_rate, as: 'userTriggeredCrawlErrorRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
|
8125
|
+
|
8213
8126
|
property :user_triggered_crawl_rate, as: 'userTriggeredCrawlRate', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries::Representation
|
8214
8127
|
|
8215
8128
|
end
|
@@ -8591,192 +8504,6 @@ module Google
|
|
8591
8504
|
end
|
8592
8505
|
end
|
8593
8506
|
|
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
8507
|
class GoogleCloudDiscoveryengineV1betaGroundingFact
|
8781
8508
|
# @private
|
8782
8509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10074,6 +9801,7 @@ module Google
|
|
10074
9801
|
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo
|
10075
9802
|
# @private
|
10076
9803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9804
|
+
collection :classified_intents, as: 'classifiedIntents'
|
10077
9805
|
property :extracted_filters, as: 'extractedFilters'
|
10078
9806
|
property :rewritten_query, as: 'rewrittenQuery'
|
10079
9807
|
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.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-09 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.57.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:
|