google-apis-discoveryengine_v1beta 0.78.0 → 0.80.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +277 -0
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +128 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +69 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c186a1fe6f2df8514169e1701a4ef3df255b5d368f5dbd3394f843aa5fbd40c1
|
4
|
+
data.tar.gz: 0fb630a88896ef0158d44cbc2813a7062542f85648c96c95b7eaa59803bbf07f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9083ca8106122b203393839214336a5a10c7101468e91a28931b73498e5f3e761a42a1a1297eb8eb58b1da35c0adfd1240a65f7e4072663022f6db07c8f833c0
|
7
|
+
data.tar.gz: fbf726175a8473689d742f78f2ec955b5fe766b83eb79e869a7496359d3a614ab34879b3c50a00c22b257de09b0121970fc11eb9792f9682ee6c6f918872755b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.80.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250824
|
6
|
+
|
7
|
+
### v0.79.0 (2025-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250816
|
10
|
+
|
3
11
|
### v0.78.0 (2025-08-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250810
|
@@ -1432,6 +1432,33 @@ module Google
|
|
1432
1432
|
end
|
1433
1433
|
end
|
1434
1434
|
|
1435
|
+
# Access Control Configuration.
|
1436
|
+
class GoogleCloudDiscoveryengineV1AclConfig
|
1437
|
+
include Google::Apis::Core::Hashable
|
1438
|
+
|
1439
|
+
# Identity Provider Config.
|
1440
|
+
# Corresponds to the JSON property `idpConfig`
|
1441
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfig]
|
1442
|
+
attr_accessor :idp_config
|
1443
|
+
|
1444
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
1445
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
1446
|
+
# string with a length limit of 1024 characters.
|
1447
|
+
# Corresponds to the JSON property `name`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :name
|
1450
|
+
|
1451
|
+
def initialize(**args)
|
1452
|
+
update!(**args)
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
# Update properties of this object
|
1456
|
+
def update!(**args)
|
1457
|
+
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
1458
|
+
@name = args[:name] if args.key?(:name)
|
1459
|
+
end
|
1460
|
+
end
|
1461
|
+
|
1435
1462
|
# Configuration data for advance site search.
|
1436
1463
|
class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
|
1437
1464
|
include Google::Apis::Core::Hashable
|
@@ -3198,6 +3225,13 @@ module Google
|
|
3198
3225
|
class GoogleCloudDiscoveryengineV1Engine
|
3199
3226
|
include Google::Apis::Core::Hashable
|
3200
3227
|
|
3228
|
+
# Optional. Immutable. This the application type which this engine resource
|
3229
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
3230
|
+
# or solution type.
|
3231
|
+
# Corresponds to the JSON property `appType`
|
3232
|
+
# @return [String]
|
3233
|
+
attr_accessor :app_type
|
3234
|
+
|
3201
3235
|
# Configurations for a Chat Engine.
|
3202
3236
|
# Corresponds to the JSON property `chatEngineConfig`
|
3203
3237
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineConfig]
|
@@ -3293,6 +3327,7 @@ module Google
|
|
3293
3327
|
|
3294
3328
|
# Update properties of this object
|
3295
3329
|
def update!(**args)
|
3330
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
3296
3331
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
3297
3332
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
3298
3333
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -3686,6 +3721,50 @@ module Google
|
|
3686
3721
|
end
|
3687
3722
|
end
|
3688
3723
|
|
3724
|
+
# Identity Provider Config.
|
3725
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
3726
|
+
include Google::Apis::Core::Hashable
|
3727
|
+
|
3728
|
+
# Third party IDP Config.
|
3729
|
+
# Corresponds to the JSON property `externalIdpConfig`
|
3730
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig]
|
3731
|
+
attr_accessor :external_idp_config
|
3732
|
+
|
3733
|
+
# Identity provider type configured.
|
3734
|
+
# Corresponds to the JSON property `idpType`
|
3735
|
+
# @return [String]
|
3736
|
+
attr_accessor :idp_type
|
3737
|
+
|
3738
|
+
def initialize(**args)
|
3739
|
+
update!(**args)
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
# Update properties of this object
|
3743
|
+
def update!(**args)
|
3744
|
+
@external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
|
3745
|
+
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
3746
|
+
end
|
3747
|
+
end
|
3748
|
+
|
3749
|
+
# Third party IDP Config.
|
3750
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
3751
|
+
include Google::Apis::Core::Hashable
|
3752
|
+
|
3753
|
+
# Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
3754
|
+
# Corresponds to the JSON property `workforcePoolName`
|
3755
|
+
# @return [String]
|
3756
|
+
attr_accessor :workforce_pool_name
|
3757
|
+
|
3758
|
+
def initialize(**args)
|
3759
|
+
update!(**args)
|
3760
|
+
end
|
3761
|
+
|
3762
|
+
# Update properties of this object
|
3763
|
+
def update!(**args)
|
3764
|
+
@workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
|
3765
|
+
end
|
3766
|
+
end
|
3767
|
+
|
3689
3768
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
3690
3769
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
3691
3770
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
@@ -7508,6 +7587,14 @@ module Google
|
|
7508
7587
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
7509
7588
|
attr_accessor :errors
|
7510
7589
|
|
7590
|
+
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
7591
|
+
# is enabled and appropriate resources are provisioned during connector creation.
|
7592
|
+
# If the connector is not a hybrid connector, this field is ignored.
|
7593
|
+
# Corresponds to the JSON property `hybridIngestionDisabled`
|
7594
|
+
# @return [Boolean]
|
7595
|
+
attr_accessor :hybrid_ingestion_disabled
|
7596
|
+
alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
|
7597
|
+
|
7511
7598
|
# The refresh interval to sync the Access Control List information for the
|
7512
7599
|
# documents ingested by this connector. If not set, the access control list will
|
7513
7600
|
# be refreshed at the default interval of 30 minutes. The identity refresh
|
@@ -7687,6 +7774,7 @@ module Google
|
|
7687
7774
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
7688
7775
|
@entities = args[:entities] if args.key?(:entities)
|
7689
7776
|
@errors = args[:errors] if args.key?(:errors)
|
7777
|
+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
7690
7778
|
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
7691
7779
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
7692
7780
|
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
@@ -8759,6 +8847,13 @@ module Google
|
|
8759
8847
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
8760
8848
|
include Google::Apis::Core::Hashable
|
8761
8849
|
|
8850
|
+
# Optional. Immutable. This the application type which this engine resource
|
8851
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
8852
|
+
# or solution type.
|
8853
|
+
# Corresponds to the JSON property `appType`
|
8854
|
+
# @return [String]
|
8855
|
+
attr_accessor :app_type
|
8856
|
+
|
8762
8857
|
# Configurations for a Chat Engine.
|
8763
8858
|
# Corresponds to the JSON property `chatEngineConfig`
|
8764
8859
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
|
@@ -8864,6 +8959,7 @@ module Google
|
|
8864
8959
|
|
8865
8960
|
# Update properties of this object
|
8866
8961
|
def update!(**args)
|
8962
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
8867
8963
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
8868
8964
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
8869
8965
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -12196,6 +12292,8 @@ module Google
|
|
12196
12292
|
|
12197
12293
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
12198
12294
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
12295
|
+
# The path must include the project number, project id is not supported for this
|
12296
|
+
# field.
|
12199
12297
|
# Corresponds to the JSON property `dataStore`
|
12200
12298
|
# @return [String]
|
12201
12299
|
attr_accessor :data_store
|
@@ -13494,6 +13592,33 @@ module Google
|
|
13494
13592
|
end
|
13495
13593
|
end
|
13496
13594
|
|
13595
|
+
# Access Control Configuration.
|
13596
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
13597
|
+
include Google::Apis::Core::Hashable
|
13598
|
+
|
13599
|
+
# Identity Provider Config.
|
13600
|
+
# Corresponds to the JSON property `idpConfig`
|
13601
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfig]
|
13602
|
+
attr_accessor :idp_config
|
13603
|
+
|
13604
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
13605
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
13606
|
+
# string with a length limit of 1024 characters.
|
13607
|
+
# Corresponds to the JSON property `name`
|
13608
|
+
# @return [String]
|
13609
|
+
attr_accessor :name
|
13610
|
+
|
13611
|
+
def initialize(**args)
|
13612
|
+
update!(**args)
|
13613
|
+
end
|
13614
|
+
|
13615
|
+
# Update properties of this object
|
13616
|
+
def update!(**args)
|
13617
|
+
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
13618
|
+
@name = args[:name] if args.key?(:name)
|
13619
|
+
end
|
13620
|
+
end
|
13621
|
+
|
13497
13622
|
# Request message for CompletionService.AdvancedCompleteQuery method. .
|
13498
13623
|
class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
|
13499
13624
|
include Google::Apis::Core::Hashable
|
@@ -19632,6 +19757,13 @@ module Google
|
|
19632
19757
|
class GoogleCloudDiscoveryengineV1betaEngine
|
19633
19758
|
include Google::Apis::Core::Hashable
|
19634
19759
|
|
19760
|
+
# Optional. Immutable. This the application type which this engine resource
|
19761
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
19762
|
+
# or solution type.
|
19763
|
+
# Corresponds to the JSON property `appType`
|
19764
|
+
# @return [String]
|
19765
|
+
attr_accessor :app_type
|
19766
|
+
|
19635
19767
|
# Configurations for a Chat Engine.
|
19636
19768
|
# Corresponds to the JSON property `chatEngineConfig`
|
19637
19769
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig]
|
@@ -19727,6 +19859,7 @@ module Google
|
|
19727
19859
|
|
19728
19860
|
# Update properties of this object
|
19729
19861
|
def update!(**args)
|
19862
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
19730
19863
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
19731
19864
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
19732
19865
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -20599,6 +20732,50 @@ module Google
|
|
20599
20732
|
end
|
20600
20733
|
end
|
20601
20734
|
|
20735
|
+
# Identity Provider Config.
|
20736
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
20737
|
+
include Google::Apis::Core::Hashable
|
20738
|
+
|
20739
|
+
# Third party IDP Config.
|
20740
|
+
# Corresponds to the JSON property `externalIdpConfig`
|
20741
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig]
|
20742
|
+
attr_accessor :external_idp_config
|
20743
|
+
|
20744
|
+
# Identity provider type configured.
|
20745
|
+
# Corresponds to the JSON property `idpType`
|
20746
|
+
# @return [String]
|
20747
|
+
attr_accessor :idp_type
|
20748
|
+
|
20749
|
+
def initialize(**args)
|
20750
|
+
update!(**args)
|
20751
|
+
end
|
20752
|
+
|
20753
|
+
# Update properties of this object
|
20754
|
+
def update!(**args)
|
20755
|
+
@external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
|
20756
|
+
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
20757
|
+
end
|
20758
|
+
end
|
20759
|
+
|
20760
|
+
# Third party IDP Config.
|
20761
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
20762
|
+
include Google::Apis::Core::Hashable
|
20763
|
+
|
20764
|
+
# Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
20765
|
+
# Corresponds to the JSON property `workforcePoolName`
|
20766
|
+
# @return [String]
|
20767
|
+
attr_accessor :workforce_pool_name
|
20768
|
+
|
20769
|
+
def initialize(**args)
|
20770
|
+
update!(**args)
|
20771
|
+
end
|
20772
|
+
|
20773
|
+
# Update properties of this object
|
20774
|
+
def update!(**args)
|
20775
|
+
@workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
|
20776
|
+
end
|
20777
|
+
end
|
20778
|
+
|
20602
20779
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
20603
20780
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
20604
20781
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
@@ -24632,6 +24809,8 @@ module Google
|
|
24632
24809
|
|
24633
24810
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
24634
24811
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
24812
|
+
# The path must include the project number, project id is not supported for this
|
24813
|
+
# field.
|
24635
24814
|
# Corresponds to the JSON property `dataStore`
|
24636
24815
|
# @return [String]
|
24637
24816
|
attr_accessor :data_store
|
@@ -25693,6 +25872,11 @@ module Google
|
|
25693
25872
|
# @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList>]
|
25694
25873
|
attr_accessor :model_scores
|
25695
25874
|
|
25875
|
+
# A set of ranking signals.
|
25876
|
+
# Corresponds to the JSON property `rankSignals`
|
25877
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals]
|
25878
|
+
attr_accessor :rank_signals
|
25879
|
+
|
25696
25880
|
def initialize(**args)
|
25697
25881
|
update!(**args)
|
25698
25882
|
end
|
@@ -25703,6 +25887,99 @@ module Google
|
|
25703
25887
|
@document = args[:document] if args.key?(:document)
|
25704
25888
|
@id = args[:id] if args.key?(:id)
|
25705
25889
|
@model_scores = args[:model_scores] if args.key?(:model_scores)
|
25890
|
+
@rank_signals = args[:rank_signals] if args.key?(:rank_signals)
|
25891
|
+
end
|
25892
|
+
end
|
25893
|
+
|
25894
|
+
# A set of ranking signals.
|
25895
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals
|
25896
|
+
include Google::Apis::Core::Hashable
|
25897
|
+
|
25898
|
+
# Optional. Combined custom boosts for a doc.
|
25899
|
+
# Corresponds to the JSON property `boostingFactor`
|
25900
|
+
# @return [Float]
|
25901
|
+
attr_accessor :boosting_factor
|
25902
|
+
|
25903
|
+
# Optional. A list of custom clearbox signals.
|
25904
|
+
# Corresponds to the JSON property `customSignals`
|
25905
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal>]
|
25906
|
+
attr_accessor :custom_signals
|
25907
|
+
|
25908
|
+
# Optional. The default rank of the result.
|
25909
|
+
# Corresponds to the JSON property `defaultRank`
|
25910
|
+
# @return [Float]
|
25911
|
+
attr_accessor :default_rank
|
25912
|
+
|
25913
|
+
# Optional. Age of the document in hours.
|
25914
|
+
# Corresponds to the JSON property `documentAge`
|
25915
|
+
# @return [Float]
|
25916
|
+
attr_accessor :document_age
|
25917
|
+
|
25918
|
+
# Optional. Keyword matching adjustment.
|
25919
|
+
# Corresponds to the JSON property `keywordSimilarityScore`
|
25920
|
+
# @return [Float]
|
25921
|
+
attr_accessor :keyword_similarity_score
|
25922
|
+
|
25923
|
+
# Optional. Predicted conversion rate adjustment as a rank.
|
25924
|
+
# Corresponds to the JSON property `pctrRank`
|
25925
|
+
# @return [Float]
|
25926
|
+
attr_accessor :pctr_rank
|
25927
|
+
|
25928
|
+
# Optional. Semantic relevance adjustment.
|
25929
|
+
# Corresponds to the JSON property `relevanceScore`
|
25930
|
+
# @return [Float]
|
25931
|
+
attr_accessor :relevance_score
|
25932
|
+
|
25933
|
+
# Optional. Semantic similarity adjustment.
|
25934
|
+
# Corresponds to the JSON property `semanticSimilarityScore`
|
25935
|
+
# @return [Float]
|
25936
|
+
attr_accessor :semantic_similarity_score
|
25937
|
+
|
25938
|
+
# Optional. Topicality adjustment as a rank.
|
25939
|
+
# Corresponds to the JSON property `topicalityRank`
|
25940
|
+
# @return [Float]
|
25941
|
+
attr_accessor :topicality_rank
|
25942
|
+
|
25943
|
+
def initialize(**args)
|
25944
|
+
update!(**args)
|
25945
|
+
end
|
25946
|
+
|
25947
|
+
# Update properties of this object
|
25948
|
+
def update!(**args)
|
25949
|
+
@boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
|
25950
|
+
@custom_signals = args[:custom_signals] if args.key?(:custom_signals)
|
25951
|
+
@default_rank = args[:default_rank] if args.key?(:default_rank)
|
25952
|
+
@document_age = args[:document_age] if args.key?(:document_age)
|
25953
|
+
@keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
|
25954
|
+
@pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
|
25955
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
25956
|
+
@semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
|
25957
|
+
@topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
|
25958
|
+
end
|
25959
|
+
end
|
25960
|
+
|
25961
|
+
# Custom clearbox signal represented by name and value pair.
|
25962
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal
|
25963
|
+
include Google::Apis::Core::Hashable
|
25964
|
+
|
25965
|
+
# Optional. Name of the signal.
|
25966
|
+
# Corresponds to the JSON property `name`
|
25967
|
+
# @return [String]
|
25968
|
+
attr_accessor :name
|
25969
|
+
|
25970
|
+
# Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
|
25971
|
+
# Corresponds to the JSON property `value`
|
25972
|
+
# @return [Float]
|
25973
|
+
attr_accessor :value
|
25974
|
+
|
25975
|
+
def initialize(**args)
|
25976
|
+
update!(**args)
|
25977
|
+
end
|
25978
|
+
|
25979
|
+
# Update properties of this object
|
25980
|
+
def update!(**args)
|
25981
|
+
@name = args[:name] if args.key?(:name)
|
25982
|
+
@value = args[:value] if args.key?(:value)
|
25706
25983
|
end
|
25707
25984
|
end
|
25708
25985
|
|
@@ -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.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250824"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class GoogleCloudDiscoveryengineV1AclConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -586,6 +592,18 @@ module Google
|
|
586
592
|
include Google::Apis::Core::JsonObjectSupport
|
587
593
|
end
|
588
594
|
|
595
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
601
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
589
607
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
590
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
609
|
|
@@ -2104,6 +2122,12 @@ module Google
|
|
2104
2122
|
include Google::Apis::Core::JsonObjectSupport
|
2105
2123
|
end
|
2106
2124
|
|
2125
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
2126
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2127
|
+
|
2128
|
+
include Google::Apis::Core::JsonObjectSupport
|
2129
|
+
end
|
2130
|
+
|
2107
2131
|
class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
|
2108
2132
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2109
2133
|
|
@@ -3292,6 +3316,18 @@ module Google
|
|
3292
3316
|
include Google::Apis::Core::JsonObjectSupport
|
3293
3317
|
end
|
3294
3318
|
|
3319
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
3320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3321
|
+
|
3322
|
+
include Google::Apis::Core::JsonObjectSupport
|
3323
|
+
end
|
3324
|
+
|
3325
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
3326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3327
|
+
|
3328
|
+
include Google::Apis::Core::JsonObjectSupport
|
3329
|
+
end
|
3330
|
+
|
3295
3331
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
3296
3332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3297
3333
|
|
@@ -4138,6 +4174,18 @@ module Google
|
|
4138
4174
|
include Google::Apis::Core::JsonObjectSupport
|
4139
4175
|
end
|
4140
4176
|
|
4177
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals
|
4178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4179
|
+
|
4180
|
+
include Google::Apis::Core::JsonObjectSupport
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal
|
4184
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4185
|
+
|
4186
|
+
include Google::Apis::Core::JsonObjectSupport
|
4187
|
+
end
|
4188
|
+
|
4141
4189
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo
|
4142
4190
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4143
4191
|
|
@@ -4852,6 +4900,15 @@ module Google
|
|
4852
4900
|
end
|
4853
4901
|
end
|
4854
4902
|
|
4903
|
+
class GoogleCloudDiscoveryengineV1AclConfig
|
4904
|
+
# @private
|
4905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4906
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfig::Representation
|
4907
|
+
|
4908
|
+
property :name, as: 'name'
|
4909
|
+
end
|
4910
|
+
end
|
4911
|
+
|
4855
4912
|
class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
|
4856
4913
|
# @private
|
4857
4914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5355,6 +5412,7 @@ module Google
|
|
5355
5412
|
class GoogleCloudDiscoveryengineV1Engine
|
5356
5413
|
# @private
|
5357
5414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5415
|
+
property :app_type, as: 'appType'
|
5358
5416
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineConfig::Representation
|
5359
5417
|
|
5360
5418
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata::Representation
|
@@ -5481,6 +5539,22 @@ module Google
|
|
5481
5539
|
end
|
5482
5540
|
end
|
5483
5541
|
|
5542
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
5543
|
+
# @private
|
5544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5545
|
+
property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig::Representation
|
5546
|
+
|
5547
|
+
property :idp_type, as: 'idpType'
|
5548
|
+
end
|
5549
|
+
end
|
5550
|
+
|
5551
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
5552
|
+
# @private
|
5553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5554
|
+
property :workforce_pool_name, as: 'workforcePoolName'
|
5555
|
+
end
|
5556
|
+
end
|
5557
|
+
|
5484
5558
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
5485
5559
|
# @private
|
5486
5560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6510,6 +6584,7 @@ module Google
|
|
6510
6584
|
|
6511
6585
|
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
6512
6586
|
|
6587
|
+
property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
|
6513
6588
|
property :identity_refresh_interval, as: 'identityRefreshInterval'
|
6514
6589
|
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
|
6515
6590
|
|
@@ -6838,6 +6913,7 @@ module Google
|
|
6838
6913
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
6839
6914
|
# @private
|
6840
6915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6916
|
+
property :app_type, as: 'appType'
|
6841
6917
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
|
6842
6918
|
|
6843
6919
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
|
@@ -8058,6 +8134,15 @@ module Google
|
|
8058
8134
|
end
|
8059
8135
|
end
|
8060
8136
|
|
8137
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
8138
|
+
# @private
|
8139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8140
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfig::Representation
|
8141
|
+
|
8142
|
+
property :name, as: 'name'
|
8143
|
+
end
|
8144
|
+
end
|
8145
|
+
|
8061
8146
|
class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
|
8062
8147
|
# @private
|
8063
8148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9797,6 +9882,7 @@ module Google
|
|
9797
9882
|
class GoogleCloudDiscoveryengineV1betaEngine
|
9798
9883
|
# @private
|
9799
9884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9885
|
+
property :app_type, as: 'appType'
|
9800
9886
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig::Representation
|
9801
9887
|
|
9802
9888
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata::Representation
|
@@ -10052,6 +10138,22 @@ module Google
|
|
10052
10138
|
end
|
10053
10139
|
end
|
10054
10140
|
|
10141
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
10142
|
+
# @private
|
10143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10144
|
+
property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig::Representation
|
10145
|
+
|
10146
|
+
property :idp_type, as: 'idpType'
|
10147
|
+
end
|
10148
|
+
end
|
10149
|
+
|
10150
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
10151
|
+
# @private
|
10152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10153
|
+
property :workforce_pool_name, as: 'workforcePoolName'
|
10154
|
+
end
|
10155
|
+
end
|
10156
|
+
|
10055
10157
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
10056
10158
|
# @private
|
10057
10159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11466,6 +11568,32 @@ module Google
|
|
11466
11568
|
property :id, as: 'id'
|
11467
11569
|
hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList::Representation
|
11468
11570
|
|
11571
|
+
property :rank_signals, as: 'rankSignals', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals::Representation
|
11572
|
+
|
11573
|
+
end
|
11574
|
+
end
|
11575
|
+
|
11576
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals
|
11577
|
+
# @private
|
11578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11579
|
+
property :boosting_factor, as: 'boostingFactor'
|
11580
|
+
collection :custom_signals, as: 'customSignals', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal::Representation
|
11581
|
+
|
11582
|
+
property :default_rank, as: 'defaultRank'
|
11583
|
+
property :document_age, as: 'documentAge'
|
11584
|
+
property :keyword_similarity_score, as: 'keywordSimilarityScore'
|
11585
|
+
property :pctr_rank, as: 'pctrRank'
|
11586
|
+
property :relevance_score, as: 'relevanceScore'
|
11587
|
+
property :semantic_similarity_score, as: 'semanticSimilarityScore'
|
11588
|
+
property :topicality_rank, as: 'topicalityRank'
|
11589
|
+
end
|
11590
|
+
end
|
11591
|
+
|
11592
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal
|
11593
|
+
# @private
|
11594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11595
|
+
property :name, as: 'name'
|
11596
|
+
property :value, as: 'value'
|
11469
11597
|
end
|
11470
11598
|
end
|
11471
11599
|
|
@@ -133,6 +133,38 @@ module Google
|
|
133
133
|
execute_or_queue_command(command, &block)
|
134
134
|
end
|
135
135
|
|
136
|
+
# Gets the AclConfig.
|
137
|
+
# @param [String] name
|
138
|
+
# Required. Resource name of AclConfig, such as `projects/*/locations/*/
|
139
|
+
# aclConfig`. If the caller does not have permission to access the AclConfig,
|
140
|
+
# regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
|
141
|
+
# @param [String] fields
|
142
|
+
# Selector specifying which fields to include in a partial response.
|
143
|
+
# @param [String] quota_user
|
144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
+
# @param [Google::Apis::RequestOptions] options
|
147
|
+
# Request-specific options
|
148
|
+
#
|
149
|
+
# @yield [result, err] Result & error if block supplied
|
150
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig] parsed result object
|
151
|
+
# @yieldparam err [StandardError] error object if request failed
|
152
|
+
#
|
153
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig]
|
154
|
+
#
|
155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
+
def get_project_location_acl_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
160
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig::Representation
|
161
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig
|
162
|
+
command.params['name'] = name unless name.nil?
|
163
|
+
command.query['fields'] = fields unless fields.nil?
|
164
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
|
+
execute_or_queue_command(command, &block)
|
166
|
+
end
|
167
|
+
|
136
168
|
# Gets the CmekConfig.
|
137
169
|
# @param [String] name
|
138
170
|
# Required. Resource name of CmekConfig, such as `projects/*/locations/*/
|
@@ -280,6 +312,43 @@ module Google
|
|
280
312
|
execute_or_queue_command(command, &block)
|
281
313
|
end
|
282
314
|
|
315
|
+
# Default ACL configuration for use in a location of a customer's project.
|
316
|
+
# Updates will only reflect to new data stores. Existing data stores will still
|
317
|
+
# use the old value.
|
318
|
+
# @param [String] name
|
319
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
320
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
321
|
+
# string with a length limit of 1024 characters.
|
322
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig] google_cloud_discoveryengine_v1beta_acl_config_object
|
323
|
+
# @param [String] fields
|
324
|
+
# Selector specifying which fields to include in a partial response.
|
325
|
+
# @param [String] quota_user
|
326
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
327
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
328
|
+
# @param [Google::Apis::RequestOptions] options
|
329
|
+
# Request-specific options
|
330
|
+
#
|
331
|
+
# @yield [result, err] Result & error if block supplied
|
332
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig] parsed result object
|
333
|
+
# @yieldparam err [StandardError] error object if request failed
|
334
|
+
#
|
335
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig]
|
336
|
+
#
|
337
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
338
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
339
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
340
|
+
def update_project_location_acl_config(name, google_cloud_discoveryengine_v1beta_acl_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
341
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
342
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig::Representation
|
343
|
+
command.request_object = google_cloud_discoveryengine_v1beta_acl_config_object
|
344
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig::Representation
|
345
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAclConfig
|
346
|
+
command.params['name'] = name unless name.nil?
|
347
|
+
command.query['fields'] = fields unless fields.nil?
|
348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
349
|
+
execute_or_queue_command(command, &block)
|
350
|
+
end
|
351
|
+
|
283
352
|
# Provisions a CMEK key for use in a location of a customer's project. This
|
284
353
|
# method will also conduct location validation on the provided cmekConfig to
|
285
354
|
# make sure the key is valid and can be used in the selected location.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.80.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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.80.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:
|