google-apis-discoveryengine_v1 0.33.0 → 0.34.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_v1/classes.rb +660 -8
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +271 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +40 -0
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1
|
18
18
|
# Version of the google-apis-discoveryengine_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.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 = "20250419"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,18 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
163
175
|
class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
|
164
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
177
|
|
@@ -934,6 +946,36 @@ module Google
|
|
934
946
|
include Google::Apis::Core::JsonObjectSupport
|
935
947
|
end
|
936
948
|
|
949
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
955
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
961
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
967
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
+
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
971
|
+
end
|
972
|
+
|
973
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
937
979
|
class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
|
938
980
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
981
|
|
@@ -2116,6 +2158,12 @@ module Google
|
|
2116
2158
|
include Google::Apis::Core::JsonObjectSupport
|
2117
2159
|
end
|
2118
2160
|
|
2161
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
|
2162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2163
|
+
|
2164
|
+
include Google::Apis::Core::JsonObjectSupport
|
2165
|
+
end
|
2166
|
+
|
2119
2167
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
|
2120
2168
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2121
2169
|
|
@@ -2320,12 +2368,30 @@ module Google
|
|
2320
2368
|
include Google::Apis::Core::JsonObjectSupport
|
2321
2369
|
end
|
2322
2370
|
|
2371
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
2372
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2373
|
+
|
2374
|
+
include Google::Apis::Core::JsonObjectSupport
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
|
+
|
2380
|
+
include Google::Apis::Core::JsonObjectSupport
|
2381
|
+
end
|
2382
|
+
|
2323
2383
|
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
2324
2384
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2325
2385
|
|
2326
2386
|
include Google::Apis::Core::JsonObjectSupport
|
2327
2387
|
end
|
2328
2388
|
|
2389
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
2390
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2391
|
+
|
2392
|
+
include Google::Apis::Core::JsonObjectSupport
|
2393
|
+
end
|
2394
|
+
|
2329
2395
|
class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
|
2330
2396
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2331
2397
|
|
@@ -3268,6 +3334,36 @@ module Google
|
|
3268
3334
|
include Google::Apis::Core::JsonObjectSupport
|
3269
3335
|
end
|
3270
3336
|
|
3337
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
|
3338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3339
|
+
|
3340
|
+
include Google::Apis::Core::JsonObjectSupport
|
3341
|
+
end
|
3342
|
+
|
3343
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
3344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3345
|
+
|
3346
|
+
include Google::Apis::Core::JsonObjectSupport
|
3347
|
+
end
|
3348
|
+
|
3349
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
3350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3351
|
+
|
3352
|
+
include Google::Apis::Core::JsonObjectSupport
|
3353
|
+
end
|
3354
|
+
|
3355
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
3356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3357
|
+
|
3358
|
+
include Google::Apis::Core::JsonObjectSupport
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
3362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3363
|
+
|
3364
|
+
include Google::Apis::Core::JsonObjectSupport
|
3365
|
+
end
|
3366
|
+
|
3271
3367
|
class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
|
3272
3368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3273
3369
|
|
@@ -4054,6 +4150,28 @@ module Google
|
|
4054
4150
|
end
|
4055
4151
|
end
|
4056
4152
|
|
4153
|
+
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
4154
|
+
# @private
|
4155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4156
|
+
property :user_defined_classifier_spec, as: 'userDefinedClassifierSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec::Representation
|
4157
|
+
|
4158
|
+
end
|
4159
|
+
end
|
4160
|
+
|
4161
|
+
class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
|
4162
|
+
# @private
|
4163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4164
|
+
property :enable_user_defined_classifier, as: 'enableUserDefinedClassifier'
|
4165
|
+
property :model_id, as: 'modelId'
|
4166
|
+
property :preamble, as: 'preamble'
|
4167
|
+
property :seed, as: 'seed'
|
4168
|
+
property :task_marker, as: 'taskMarker'
|
4169
|
+
property :temperature, as: 'temperature'
|
4170
|
+
property :top_k, :numeric_string => true, as: 'topK'
|
4171
|
+
property :top_p, as: 'topP'
|
4172
|
+
end
|
4173
|
+
end
|
4174
|
+
|
4057
4175
|
class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
|
4058
4176
|
# @private
|
4059
4177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4629,6 +4747,7 @@ module Google
|
|
4629
4747
|
property :claim_text, as: 'claimText'
|
4630
4748
|
property :end_pos, as: 'endPos'
|
4631
4749
|
property :grounding_check_required, as: 'groundingCheckRequired'
|
4750
|
+
property :score, as: 'score'
|
4632
4751
|
property :start_pos, as: 'startPos'
|
4633
4752
|
end
|
4634
4753
|
end
|
@@ -4637,15 +4756,18 @@ module Google
|
|
4637
4756
|
# @private
|
4638
4757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4639
4758
|
property :citation_threshold, as: 'citationThreshold'
|
4759
|
+
property :enable_claim_level_score, as: 'enableClaimLevelScore'
|
4640
4760
|
end
|
4641
4761
|
end
|
4642
4762
|
|
4643
4763
|
class GoogleCloudDiscoveryengineV1Chunk
|
4644
4764
|
# @private
|
4645
4765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4766
|
+
collection :annotation_contents, as: 'annotationContents'
|
4646
4767
|
property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
|
4647
4768
|
|
4648
4769
|
property :content, as: 'content'
|
4770
|
+
collection :data_urls, as: 'dataUrls'
|
4649
4771
|
hash :derived_struct_data, as: 'derivedStructData'
|
4650
4772
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata::Representation
|
4651
4773
|
|
@@ -5243,6 +5365,9 @@ module Google
|
|
5243
5365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5244
5366
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
5245
5367
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
5368
|
+
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
5369
|
+
collection :exclude_html_elements, as: 'excludeHtmlElements'
|
5370
|
+
collection :exclude_html_ids, as: 'excludeHtmlIds'
|
5246
5371
|
end
|
5247
5372
|
end
|
5248
5373
|
|
@@ -5295,6 +5420,8 @@ module Google
|
|
5295
5420
|
property :disable_analytics, as: 'disableAnalytics'
|
5296
5421
|
property :display_name, as: 'displayName'
|
5297
5422
|
property :industry_vertical, as: 'industryVertical'
|
5423
|
+
property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig::Representation
|
5424
|
+
|
5298
5425
|
property :name, as: 'name'
|
5299
5426
|
property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig::Representation
|
5300
5427
|
|
@@ -5337,6 +5464,51 @@ module Google
|
|
5337
5464
|
end
|
5338
5465
|
end
|
5339
5466
|
|
5467
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
|
5468
|
+
# @private
|
5469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5470
|
+
property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
|
5471
|
+
|
5472
|
+
property :optimization_objective, as: 'optimizationObjective'
|
5473
|
+
property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
|
5474
|
+
|
5475
|
+
property :training_state, as: 'trainingState'
|
5476
|
+
property :type, as: 'type'
|
5477
|
+
end
|
5478
|
+
end
|
5479
|
+
|
5480
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
5481
|
+
# @private
|
5482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5483
|
+
property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
|
5484
|
+
|
5485
|
+
property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
|
5486
|
+
|
5487
|
+
end
|
5488
|
+
end
|
5489
|
+
|
5490
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
5491
|
+
# @private
|
5492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5493
|
+
property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
|
5494
|
+
end
|
5495
|
+
end
|
5496
|
+
|
5497
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
5498
|
+
# @private
|
5499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5500
|
+
property :target_field, as: 'targetField'
|
5501
|
+
property :target_field_value_float, as: 'targetFieldValueFloat'
|
5502
|
+
end
|
5503
|
+
end
|
5504
|
+
|
5505
|
+
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
5506
|
+
# @private
|
5507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5508
|
+
property :context_event_type, as: 'contextEventType'
|
5509
|
+
end
|
5510
|
+
end
|
5511
|
+
|
5340
5512
|
class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
|
5341
5513
|
# @private
|
5342
5514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5349,9 +5521,12 @@ module Google
|
|
5349
5521
|
# @private
|
5350
5522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5351
5523
|
property :chunk_text, as: 'chunkText'
|
5524
|
+
property :domain, as: 'domain'
|
5352
5525
|
property :index, as: 'index'
|
5353
5526
|
property :source, as: 'source'
|
5354
5527
|
hash :source_metadata, as: 'sourceMetadata'
|
5528
|
+
property :title, as: 'title'
|
5529
|
+
property :uri, as: 'uri'
|
5355
5530
|
end
|
5356
5531
|
end
|
5357
5532
|
|
@@ -6099,6 +6274,7 @@ module Google
|
|
6099
6274
|
# @private
|
6100
6275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6101
6276
|
property :description, as: 'description'
|
6277
|
+
property :document, as: 'document'
|
6102
6278
|
property :enabled, as: 'enabled'
|
6103
6279
|
property :image_uri, as: 'imageUri'
|
6104
6280
|
property :title, as: 'title'
|
@@ -6500,6 +6676,8 @@ module Google
|
|
6500
6676
|
class GoogleCloudDiscoveryengineV1ServingConfig
|
6501
6677
|
# @private
|
6502
6678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6679
|
+
property :answer_generation_spec, as: 'answerGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpec::Representation
|
6680
|
+
|
6503
6681
|
collection :boost_control_ids, as: 'boostControlIds'
|
6504
6682
|
property :create_time, as: 'createTime'
|
6505
6683
|
property :display_name, as: 'displayName'
|
@@ -7335,6 +7513,7 @@ module Google
|
|
7335
7513
|
class GoogleCloudDiscoveryengineV1alphaDataConnector
|
7336
7514
|
# @private
|
7337
7515
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7516
|
+
property :acl_enabled, as: 'aclEnabled'
|
7338
7517
|
property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
|
7339
7518
|
|
7340
7519
|
collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
|
@@ -7343,11 +7522,14 @@ module Google
|
|
7343
7522
|
property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
|
7344
7523
|
|
7345
7524
|
collection :blocking_reasons, as: 'blockingReasons'
|
7525
|
+
collection :connector_modes, as: 'connectorModes'
|
7346
7526
|
property :connector_type, as: 'connectorType'
|
7347
7527
|
property :create_time, as: 'createTime'
|
7348
7528
|
property :data_source, as: 'dataSource'
|
7349
7529
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
|
7350
7530
|
|
7531
|
+
property :end_user_config, as: 'endUserConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig::Representation
|
7532
|
+
|
7351
7533
|
collection :entities, as: 'entities', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity::Representation
|
7352
7534
|
|
7353
7535
|
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
|
@@ -7375,6 +7557,14 @@ module Google
|
|
7375
7557
|
end
|
7376
7558
|
end
|
7377
7559
|
|
7560
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
|
7561
|
+
# @private
|
7562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7563
|
+
hash :additional_params, as: 'additionalParams'
|
7564
|
+
hash :auth_params, as: 'authParams'
|
7565
|
+
end
|
7566
|
+
end
|
7567
|
+
|
7378
7568
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
|
7379
7569
|
# @private
|
7380
7570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7624,6 +7814,9 @@ module Google
|
|
7624
7814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7625
7815
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
7626
7816
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
7817
|
+
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
7818
|
+
collection :exclude_html_elements, as: 'excludeHtmlElements'
|
7819
|
+
collection :exclude_html_ids, as: 'excludeHtmlIds'
|
7627
7820
|
end
|
7628
7821
|
end
|
7629
7822
|
|
@@ -7714,6 +7907,8 @@ module Google
|
|
7714
7907
|
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
|
7715
7908
|
# @private
|
7716
7909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7910
|
+
property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
|
7911
|
+
|
7717
7912
|
property :optimization_objective, as: 'optimizationObjective'
|
7718
7913
|
property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
|
7719
7914
|
|
@@ -7722,6 +7917,23 @@ module Google
|
|
7722
7917
|
end
|
7723
7918
|
end
|
7724
7919
|
|
7920
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
7921
|
+
# @private
|
7922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7923
|
+
property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
|
7924
|
+
|
7925
|
+
property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
|
7926
|
+
|
7927
|
+
end
|
7928
|
+
end
|
7929
|
+
|
7930
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
7931
|
+
# @private
|
7932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7933
|
+
property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
|
7934
|
+
end
|
7935
|
+
end
|
7936
|
+
|
7725
7937
|
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
7726
7938
|
# @private
|
7727
7939
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7730,6 +7942,13 @@ module Google
|
|
7730
7942
|
end
|
7731
7943
|
end
|
7732
7944
|
|
7945
|
+
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
7946
|
+
# @private
|
7947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7948
|
+
property :context_event_type, as: 'contextEventType'
|
7949
|
+
end
|
7950
|
+
end
|
7951
|
+
|
7733
7952
|
class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
|
7734
7953
|
# @private
|
7735
7954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8286,6 +8505,7 @@ module Google
|
|
8286
8505
|
# @private
|
8287
8506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8288
8507
|
property :description, as: 'description'
|
8508
|
+
property :document, as: 'document'
|
8289
8509
|
property :enabled, as: 'enabled'
|
8290
8510
|
property :image_uri, as: 'imageUri'
|
8291
8511
|
property :title, as: 'title'
|
@@ -9192,6 +9412,9 @@ module Google
|
|
9192
9412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9193
9413
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
9194
9414
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
9415
|
+
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
9416
|
+
collection :exclude_html_elements, as: 'excludeHtmlElements'
|
9417
|
+
collection :exclude_html_ids, as: 'excludeHtmlIds'
|
9195
9418
|
end
|
9196
9419
|
end
|
9197
9420
|
|
@@ -9231,6 +9454,8 @@ module Google
|
|
9231
9454
|
property :disable_analytics, as: 'disableAnalytics'
|
9232
9455
|
property :display_name, as: 'displayName'
|
9233
9456
|
property :industry_vertical, as: 'industryVertical'
|
9457
|
+
property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig::Representation
|
9458
|
+
|
9234
9459
|
property :name, as: 'name'
|
9235
9460
|
property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig::Representation
|
9236
9461
|
|
@@ -9273,6 +9498,51 @@ module Google
|
|
9273
9498
|
end
|
9274
9499
|
end
|
9275
9500
|
|
9501
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
|
9502
|
+
# @private
|
9503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9504
|
+
property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
|
9505
|
+
|
9506
|
+
property :optimization_objective, as: 'optimizationObjective'
|
9507
|
+
property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
|
9508
|
+
|
9509
|
+
property :training_state, as: 'trainingState'
|
9510
|
+
property :type, as: 'type'
|
9511
|
+
end
|
9512
|
+
end
|
9513
|
+
|
9514
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
|
9515
|
+
# @private
|
9516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9517
|
+
property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
|
9518
|
+
|
9519
|
+
property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
|
9520
|
+
|
9521
|
+
end
|
9522
|
+
end
|
9523
|
+
|
9524
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
|
9525
|
+
# @private
|
9526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9527
|
+
property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
|
9528
|
+
end
|
9529
|
+
end
|
9530
|
+
|
9531
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
|
9532
|
+
# @private
|
9533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9534
|
+
property :target_field, as: 'targetField'
|
9535
|
+
property :target_field_value_float, as: 'targetFieldValueFloat'
|
9536
|
+
end
|
9537
|
+
end
|
9538
|
+
|
9539
|
+
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
|
9540
|
+
# @private
|
9541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9542
|
+
property :context_event_type, as: 'contextEventType'
|
9543
|
+
end
|
9544
|
+
end
|
9545
|
+
|
9276
9546
|
class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
|
9277
9547
|
# @private
|
9278
9548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9620,6 +9890,7 @@ module Google
|
|
9620
9890
|
# @private
|
9621
9891
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9622
9892
|
property :description, as: 'description'
|
9893
|
+
property :document, as: 'document'
|
9623
9894
|
property :enabled, as: 'enabled'
|
9624
9895
|
property :image_uri, as: 'imageUri'
|
9625
9896
|
property :title, as: 'title'
|
@@ -4038,6 +4038,46 @@ module Google
|
|
4038
4038
|
execute_or_queue_command(command, &block)
|
4039
4039
|
end
|
4040
4040
|
|
4041
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4042
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4043
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4044
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4045
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4046
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4047
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
4048
|
+
# , corresponding to `Code.CANCELLED`.
|
4049
|
+
# @param [String] name
|
4050
|
+
# The name of the operation resource to be cancelled.
|
4051
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
4052
|
+
# @param [String] fields
|
4053
|
+
# Selector specifying which fields to include in a partial response.
|
4054
|
+
# @param [String] quota_user
|
4055
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4056
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4057
|
+
# @param [Google::Apis::RequestOptions] options
|
4058
|
+
# Request-specific options
|
4059
|
+
#
|
4060
|
+
# @yield [result, err] Result & error if block supplied
|
4061
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
|
4062
|
+
# @yieldparam err [StandardError] error object if request failed
|
4063
|
+
#
|
4064
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
|
4065
|
+
#
|
4066
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4067
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4068
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4069
|
+
def cancel_project_location_collection_engine_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4070
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
4071
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningCancelOperationRequest::Representation
|
4072
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
4073
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
|
4074
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
|
4075
|
+
command.params['name'] = name unless name.nil?
|
4076
|
+
command.query['fields'] = fields unless fields.nil?
|
4077
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4078
|
+
execute_or_queue_command(command, &block)
|
4079
|
+
end
|
4080
|
+
|
4041
4081
|
# Gets the latest state of a long-running operation. Clients can use this method
|
4042
4082
|
# to poll the operation result at intervals as recommended by the API service.
|
4043
4083
|
# @param [String] name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-27 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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.34.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|