google-apis-discoveryengine_v1 0.47.0 → 0.49.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_v1/classes.rb +350 -2
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +131 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +75 -6
- 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: 7796ec667245a5ea02e96e76d1d32e2a8efe9ecc4f5bbe5dbe2f61bad53342ab
|
4
|
+
data.tar.gz: 377ace7bcd7708e0c6887f7cade3b2e0ae13984e3445f5e2ed6cad77e2c6bfc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2571bebad9cd68fe3dc52baccf0329f740ccf55c9008e929c822a656d110cc68111d87baecf29e55dc94b49e09650e9748f6266a6d394677d0993d2c4c9e7a
|
7
|
+
data.tar.gz: 45da4bcf579acf43348d9167e9c7d64cd5edf75246a601644ab91c5caec4e2e17cd32b58da47b652bc0ca97bddb57181aa8fbe17068263b5a265c2b4cd83efd9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250824
|
6
|
+
|
7
|
+
### v0.48.0 (2025-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250816
|
10
|
+
|
3
11
|
### v0.47.0 (2025-08-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250803
|
@@ -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::DiscoveryengineV1::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
|
# Request message for CompletionService.AdvancedCompleteQuery method. .
|
1436
1463
|
class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
|
1437
1464
|
include Google::Apis::Core::Hashable
|
@@ -7384,6 +7411,13 @@ module Google
|
|
7384
7411
|
class GoogleCloudDiscoveryengineV1Engine
|
7385
7412
|
include Google::Apis::Core::Hashable
|
7386
7413
|
|
7414
|
+
# Optional. Immutable. This the application type which this engine resource
|
7415
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
7416
|
+
# or solution type.
|
7417
|
+
# Corresponds to the JSON property `appType`
|
7418
|
+
# @return [String]
|
7419
|
+
attr_accessor :app_type
|
7420
|
+
|
7387
7421
|
# Configurations for a Chat Engine.
|
7388
7422
|
# Corresponds to the JSON property `chatEngineConfig`
|
7389
7423
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig]
|
@@ -7479,6 +7513,7 @@ module Google
|
|
7479
7513
|
|
7480
7514
|
# Update properties of this object
|
7481
7515
|
def update!(**args)
|
7516
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
7482
7517
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
7483
7518
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
7484
7519
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -8236,6 +8271,50 @@ module Google
|
|
8236
8271
|
end
|
8237
8272
|
end
|
8238
8273
|
|
8274
|
+
# Identity Provider Config.
|
8275
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
8276
|
+
include Google::Apis::Core::Hashable
|
8277
|
+
|
8278
|
+
# Third party IDP Config.
|
8279
|
+
# Corresponds to the JSON property `externalIdpConfig`
|
8280
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig]
|
8281
|
+
attr_accessor :external_idp_config
|
8282
|
+
|
8283
|
+
# Identity provider type configured.
|
8284
|
+
# Corresponds to the JSON property `idpType`
|
8285
|
+
# @return [String]
|
8286
|
+
attr_accessor :idp_type
|
8287
|
+
|
8288
|
+
def initialize(**args)
|
8289
|
+
update!(**args)
|
8290
|
+
end
|
8291
|
+
|
8292
|
+
# Update properties of this object
|
8293
|
+
def update!(**args)
|
8294
|
+
@external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
|
8295
|
+
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
8296
|
+
end
|
8297
|
+
end
|
8298
|
+
|
8299
|
+
# Third party IDP Config.
|
8300
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
8301
|
+
include Google::Apis::Core::Hashable
|
8302
|
+
|
8303
|
+
# Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
8304
|
+
# Corresponds to the JSON property `workforcePoolName`
|
8305
|
+
# @return [String]
|
8306
|
+
attr_accessor :workforce_pool_name
|
8307
|
+
|
8308
|
+
def initialize(**args)
|
8309
|
+
update!(**args)
|
8310
|
+
end
|
8311
|
+
|
8312
|
+
# Update properties of this object
|
8313
|
+
def update!(**args)
|
8314
|
+
@workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
|
8315
|
+
end
|
8316
|
+
end
|
8317
|
+
|
8239
8318
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
8240
8319
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
8241
8320
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
@@ -10683,6 +10762,65 @@ module Google
|
|
10683
10762
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec]
|
10684
10763
|
attr_accessor :query_expansion_spec
|
10685
10764
|
|
10765
|
+
# Optional. The ranking expression controls the customized ranking on retrieval
|
10766
|
+
# documents. This overrides ServingConfig.ranking_expression. The syntax and
|
10767
|
+
# supported features depend on the `ranking_expression_backend` value. If `
|
10768
|
+
# ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`
|
10769
|
+
# . If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`,
|
10770
|
+
# it should be a single function or multiple functions that are joined by "+". *
|
10771
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
10772
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
10773
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
10774
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
10775
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
10776
|
+
# function between `embedding_field_path` and query embedding vector. Example
|
10777
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
10778
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
10779
|
+
# doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`,
|
10780
|
+
# the following expression types (and combinations of those chained using + or *
|
10781
|
+
# operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)`
|
10782
|
+
# * `rr(signal, double > 0)` -- reciprocal rank transformation with second
|
10783
|
+
# argument being a denominator constant. * `is_nan(signal)` -- returns 0 if
|
10784
|
+
# signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if
|
10785
|
+
# signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few
|
10786
|
+
# examples of ranking formulas that use the supported ranking expression types: -
|
10787
|
+
# `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` --
|
10788
|
+
# mostly rank by the logarithm of `keyword_similarity_score` with slight `
|
10789
|
+
# semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(
|
10790
|
+
# semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` --
|
10791
|
+
# rank by the exponent of `semantic_similarity_score` filling the value with 0
|
10792
|
+
# if it's NaN, also add constant 0.3 adjustment to the final score if `
|
10793
|
+
# semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) +
|
10794
|
+
# 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank
|
10795
|
+
# of `keyword_similarity_score` with slight adjustment of reciprocal rank of `
|
10796
|
+
# semantic_smilarity_score`. The following signals are supported: * `
|
10797
|
+
# semantic_similarity_score`: semantic similarity adjustment that is calculated
|
10798
|
+
# using the embeddings generated by a proprietary Google model. This score
|
10799
|
+
# determines how semantically similar a search query is to a document. * `
|
10800
|
+
# keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (
|
10801
|
+
# BM25) ranking function. This score is calculated using a probabilistic model
|
10802
|
+
# to estimate the probability that a document is relevant to a given query. * `
|
10803
|
+
# relevance_score`: semantic relevance adjustment that uses a proprietary Google
|
10804
|
+
# model to determine the meaning and intent behind a user's query in context
|
10805
|
+
# with the content in the documents. * `pctr_rank`: predicted conversion rate
|
10806
|
+
# adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
|
10807
|
+
# relevance and attractiveness of a search result from a user's perspective. A
|
10808
|
+
# higher pCTR suggests that the result is more likely to satisfy the user's
|
10809
|
+
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
10810
|
+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
|
10811
|
+
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
10812
|
+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
10813
|
+
# proprietary Google model to determine the keyword-based overlap between the
|
10814
|
+
# query and the document. * `base_rank`: the default rank of the result
|
10815
|
+
# Corresponds to the JSON property `rankingExpression`
|
10816
|
+
# @return [String]
|
10817
|
+
attr_accessor :ranking_expression
|
10818
|
+
|
10819
|
+
# Optional. The backend to use for the ranking expression evaluation.
|
10820
|
+
# Corresponds to the JSON property `rankingExpressionBackend`
|
10821
|
+
# @return [String]
|
10822
|
+
attr_accessor :ranking_expression_backend
|
10823
|
+
|
10686
10824
|
# The specification for returning the document relevance score.
|
10687
10825
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
10688
10826
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec]
|
@@ -10792,6 +10930,8 @@ module Google
|
|
10792
10930
|
@params = args[:params] if args.key?(:params)
|
10793
10931
|
@query = args[:query] if args.key?(:query)
|
10794
10932
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
10933
|
+
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
10934
|
+
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
10795
10935
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
10796
10936
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
10797
10937
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
@@ -11314,6 +11454,8 @@ module Google
|
|
11314
11454
|
|
11315
11455
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
11316
11456
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
11457
|
+
# The path must include the project number, project id is not supported for this
|
11458
|
+
# field.
|
11317
11459
|
# Corresponds to the JSON property `dataStore`
|
11318
11460
|
# @return [String]
|
11319
11461
|
attr_accessor :data_store
|
@@ -11864,6 +12006,11 @@ module Google
|
|
11864
12006
|
# @return [Hash<String,Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList>]
|
11865
12007
|
attr_accessor :model_scores
|
11866
12008
|
|
12009
|
+
# A set of ranking signals.
|
12010
|
+
# Corresponds to the JSON property `rankSignals`
|
12011
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals]
|
12012
|
+
attr_accessor :rank_signals
|
12013
|
+
|
11867
12014
|
def initialize(**args)
|
11868
12015
|
update!(**args)
|
11869
12016
|
end
|
@@ -11874,6 +12021,99 @@ module Google
|
|
11874
12021
|
@document = args[:document] if args.key?(:document)
|
11875
12022
|
@id = args[:id] if args.key?(:id)
|
11876
12023
|
@model_scores = args[:model_scores] if args.key?(:model_scores)
|
12024
|
+
@rank_signals = args[:rank_signals] if args.key?(:rank_signals)
|
12025
|
+
end
|
12026
|
+
end
|
12027
|
+
|
12028
|
+
# A set of ranking signals.
|
12029
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
12030
|
+
include Google::Apis::Core::Hashable
|
12031
|
+
|
12032
|
+
# Optional. Combined custom boosts for a doc.
|
12033
|
+
# Corresponds to the JSON property `boostingFactor`
|
12034
|
+
# @return [Float]
|
12035
|
+
attr_accessor :boosting_factor
|
12036
|
+
|
12037
|
+
# Optional. A list of custom clearbox signals.
|
12038
|
+
# Corresponds to the JSON property `customSignals`
|
12039
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal>]
|
12040
|
+
attr_accessor :custom_signals
|
12041
|
+
|
12042
|
+
# Optional. The default rank of the result.
|
12043
|
+
# Corresponds to the JSON property `defaultRank`
|
12044
|
+
# @return [Float]
|
12045
|
+
attr_accessor :default_rank
|
12046
|
+
|
12047
|
+
# Optional. Age of the document in hours.
|
12048
|
+
# Corresponds to the JSON property `documentAge`
|
12049
|
+
# @return [Float]
|
12050
|
+
attr_accessor :document_age
|
12051
|
+
|
12052
|
+
# Optional. Keyword matching adjustment.
|
12053
|
+
# Corresponds to the JSON property `keywordSimilarityScore`
|
12054
|
+
# @return [Float]
|
12055
|
+
attr_accessor :keyword_similarity_score
|
12056
|
+
|
12057
|
+
# Optional. Predicted conversion rate adjustment as a rank.
|
12058
|
+
# Corresponds to the JSON property `pctrRank`
|
12059
|
+
# @return [Float]
|
12060
|
+
attr_accessor :pctr_rank
|
12061
|
+
|
12062
|
+
# Optional. Semantic relevance adjustment.
|
12063
|
+
# Corresponds to the JSON property `relevanceScore`
|
12064
|
+
# @return [Float]
|
12065
|
+
attr_accessor :relevance_score
|
12066
|
+
|
12067
|
+
# Optional. Semantic similarity adjustment.
|
12068
|
+
# Corresponds to the JSON property `semanticSimilarityScore`
|
12069
|
+
# @return [Float]
|
12070
|
+
attr_accessor :semantic_similarity_score
|
12071
|
+
|
12072
|
+
# Optional. Topicality adjustment as a rank.
|
12073
|
+
# Corresponds to the JSON property `topicalityRank`
|
12074
|
+
# @return [Float]
|
12075
|
+
attr_accessor :topicality_rank
|
12076
|
+
|
12077
|
+
def initialize(**args)
|
12078
|
+
update!(**args)
|
12079
|
+
end
|
12080
|
+
|
12081
|
+
# Update properties of this object
|
12082
|
+
def update!(**args)
|
12083
|
+
@boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
|
12084
|
+
@custom_signals = args[:custom_signals] if args.key?(:custom_signals)
|
12085
|
+
@default_rank = args[:default_rank] if args.key?(:default_rank)
|
12086
|
+
@document_age = args[:document_age] if args.key?(:document_age)
|
12087
|
+
@keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
|
12088
|
+
@pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
|
12089
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
12090
|
+
@semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
|
12091
|
+
@topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
|
12092
|
+
end
|
12093
|
+
end
|
12094
|
+
|
12095
|
+
# Custom clearbox signal represented by name and value pair.
|
12096
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
12097
|
+
include Google::Apis::Core::Hashable
|
12098
|
+
|
12099
|
+
# Optional. Name of the signal.
|
12100
|
+
# Corresponds to the JSON property `name`
|
12101
|
+
# @return [String]
|
12102
|
+
attr_accessor :name
|
12103
|
+
|
12104
|
+
# Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
|
12105
|
+
# Corresponds to the JSON property `value`
|
12106
|
+
# @return [Float]
|
12107
|
+
attr_accessor :value
|
12108
|
+
|
12109
|
+
def initialize(**args)
|
12110
|
+
update!(**args)
|
12111
|
+
end
|
12112
|
+
|
12113
|
+
# Update properties of this object
|
12114
|
+
def update!(**args)
|
12115
|
+
@name = args[:name] if args.key?(:name)
|
12116
|
+
@value = args[:value] if args.key?(:value)
|
11877
12117
|
end
|
11878
12118
|
end
|
11879
12119
|
|
@@ -13809,6 +14049,13 @@ module Google
|
|
13809
14049
|
# @return [String]
|
13810
14050
|
attr_accessor :service_name
|
13811
14051
|
|
14052
|
+
# Optional. Whether to use static secrets for the connector. If true, the
|
14053
|
+
# secrets provided in the action_params will be ignored.
|
14054
|
+
# Corresponds to the JSON property `useStaticSecrets`
|
14055
|
+
# @return [Boolean]
|
14056
|
+
attr_accessor :use_static_secrets
|
14057
|
+
alias_method :use_static_secrets?, :use_static_secrets
|
14058
|
+
|
13812
14059
|
def initialize(**args)
|
13813
14060
|
update!(**args)
|
13814
14061
|
end
|
@@ -13818,6 +14065,7 @@ module Google
|
|
13818
14065
|
@action_params = args[:action_params] if args.key?(:action_params)
|
13819
14066
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
13820
14067
|
@service_name = args[:service_name] if args.key?(:service_name)
|
14068
|
+
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
13821
14069
|
end
|
13822
14070
|
end
|
13823
14071
|
|
@@ -15808,6 +16056,14 @@ module Google
|
|
15808
16056
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
|
15809
16057
|
attr_accessor :errors
|
15810
16058
|
|
16059
|
+
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
16060
|
+
# is enabled and appropriate resources are provisioned during connector creation.
|
16061
|
+
# If the connector is not a hybrid connector, this field is ignored.
|
16062
|
+
# Corresponds to the JSON property `hybridIngestionDisabled`
|
16063
|
+
# @return [Boolean]
|
16064
|
+
attr_accessor :hybrid_ingestion_disabled
|
16065
|
+
alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
|
16066
|
+
|
15811
16067
|
# The refresh interval to sync the Access Control List information for the
|
15812
16068
|
# documents ingested by this connector. If not set, the access control list will
|
15813
16069
|
# be refreshed at the default interval of 30 minutes. The identity refresh
|
@@ -15987,6 +16243,7 @@ module Google
|
|
15987
16243
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
15988
16244
|
@entities = args[:entities] if args.key?(:entities)
|
15989
16245
|
@errors = args[:errors] if args.key?(:errors)
|
16246
|
+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
15990
16247
|
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
15991
16248
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
15992
16249
|
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
@@ -17059,6 +17316,13 @@ module Google
|
|
17059
17316
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
17060
17317
|
include Google::Apis::Core::Hashable
|
17061
17318
|
|
17319
|
+
# Optional. Immutable. This the application type which this engine resource
|
17320
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
17321
|
+
# or solution type.
|
17322
|
+
# Corresponds to the JSON property `appType`
|
17323
|
+
# @return [String]
|
17324
|
+
attr_accessor :app_type
|
17325
|
+
|
17062
17326
|
# Configurations for a Chat Engine.
|
17063
17327
|
# Corresponds to the JSON property `chatEngineConfig`
|
17064
17328
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
|
@@ -17164,6 +17428,7 @@ module Google
|
|
17164
17428
|
|
17165
17429
|
# Update properties of this object
|
17166
17430
|
def update!(**args)
|
17431
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
17167
17432
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
17168
17433
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
17169
17434
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -18594,8 +18859,8 @@ module Google
|
|
18594
18859
|
|
18595
18860
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
18596
18861
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
18597
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
18598
|
-
# create_time
|
18862
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
18863
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
18599
18864
|
# first, then by update_time.
|
18600
18865
|
# Corresponds to the JSON property `orderBy`
|
18601
18866
|
# @return [String]
|
@@ -20496,6 +20761,8 @@ module Google
|
|
20496
20761
|
|
20497
20762
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
20498
20763
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
20764
|
+
# The path must include the project number, project id is not supported for this
|
20765
|
+
# field.
|
20499
20766
|
# Corresponds to the JSON property `dataStore`
|
20500
20767
|
# @return [String]
|
20501
20768
|
attr_accessor :data_store
|
@@ -21794,6 +22061,33 @@ module Google
|
|
21794
22061
|
end
|
21795
22062
|
end
|
21796
22063
|
|
22064
|
+
# Access Control Configuration.
|
22065
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
22066
|
+
include Google::Apis::Core::Hashable
|
22067
|
+
|
22068
|
+
# Identity Provider Config.
|
22069
|
+
# Corresponds to the JSON property `idpConfig`
|
22070
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig]
|
22071
|
+
attr_accessor :idp_config
|
22072
|
+
|
22073
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
22074
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
22075
|
+
# string with a length limit of 1024 characters.
|
22076
|
+
# Corresponds to the JSON property `name`
|
22077
|
+
# @return [String]
|
22078
|
+
attr_accessor :name
|
22079
|
+
|
22080
|
+
def initialize(**args)
|
22081
|
+
update!(**args)
|
22082
|
+
end
|
22083
|
+
|
22084
|
+
# Update properties of this object
|
22085
|
+
def update!(**args)
|
22086
|
+
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
22087
|
+
@name = args[:name] if args.key?(:name)
|
22088
|
+
end
|
22089
|
+
end
|
22090
|
+
|
21797
22091
|
# Configuration data for advance site search.
|
21798
22092
|
class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
|
21799
22093
|
include Google::Apis::Core::Hashable
|
@@ -23337,6 +23631,13 @@ module Google
|
|
23337
23631
|
class GoogleCloudDiscoveryengineV1betaEngine
|
23338
23632
|
include Google::Apis::Core::Hashable
|
23339
23633
|
|
23634
|
+
# Optional. Immutable. This the application type which this engine resource
|
23635
|
+
# represents. NOTE: this is a new concept independ of existing industry vertical
|
23636
|
+
# or solution type.
|
23637
|
+
# Corresponds to the JSON property `appType`
|
23638
|
+
# @return [String]
|
23639
|
+
attr_accessor :app_type
|
23640
|
+
|
23340
23641
|
# Configurations for a Chat Engine.
|
23341
23642
|
# Corresponds to the JSON property `chatEngineConfig`
|
23342
23643
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig]
|
@@ -23432,6 +23733,7 @@ module Google
|
|
23432
23733
|
|
23433
23734
|
# Update properties of this object
|
23434
23735
|
def update!(**args)
|
23736
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
23435
23737
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
23436
23738
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
23437
23739
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -23940,6 +24242,50 @@ module Google
|
|
23940
24242
|
end
|
23941
24243
|
end
|
23942
24244
|
|
24245
|
+
# Identity Provider Config.
|
24246
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
24247
|
+
include Google::Apis::Core::Hashable
|
24248
|
+
|
24249
|
+
# Third party IDP Config.
|
24250
|
+
# Corresponds to the JSON property `externalIdpConfig`
|
24251
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig]
|
24252
|
+
attr_accessor :external_idp_config
|
24253
|
+
|
24254
|
+
# Identity provider type configured.
|
24255
|
+
# Corresponds to the JSON property `idpType`
|
24256
|
+
# @return [String]
|
24257
|
+
attr_accessor :idp_type
|
24258
|
+
|
24259
|
+
def initialize(**args)
|
24260
|
+
update!(**args)
|
24261
|
+
end
|
24262
|
+
|
24263
|
+
# Update properties of this object
|
24264
|
+
def update!(**args)
|
24265
|
+
@external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
|
24266
|
+
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
24267
|
+
end
|
24268
|
+
end
|
24269
|
+
|
24270
|
+
# Third party IDP Config.
|
24271
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
24272
|
+
include Google::Apis::Core::Hashable
|
24273
|
+
|
24274
|
+
# Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
24275
|
+
# Corresponds to the JSON property `workforcePoolName`
|
24276
|
+
# @return [String]
|
24277
|
+
attr_accessor :workforce_pool_name
|
24278
|
+
|
24279
|
+
def initialize(**args)
|
24280
|
+
update!(**args)
|
24281
|
+
end
|
24282
|
+
|
24283
|
+
# Update properties of this object
|
24284
|
+
def update!(**args)
|
24285
|
+
@workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
|
24286
|
+
end
|
24287
|
+
end
|
24288
|
+
|
23943
24289
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
23944
24290
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
23945
24291
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
@@ -25865,6 +26211,8 @@ module Google
|
|
25865
26211
|
|
25866
26212
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
25867
26213
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
26214
|
+
# The path must include the project number, project id is not supported for this
|
26215
|
+
# field.
|
25868
26216
|
# Corresponds to the JSON property `dataStore`
|
25869
26217
|
# @return [String]
|
25870
26218
|
attr_accessor :data_store
|
@@ -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.49.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 GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -1330,6 +1336,18 @@ module Google
|
|
1330
1336
|
include Google::Apis::Core::JsonObjectSupport
|
1331
1337
|
end
|
1332
1338
|
|
1339
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
1340
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1341
|
+
|
1342
|
+
include Google::Apis::Core::JsonObjectSupport
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
|
+
|
1348
|
+
include Google::Apis::Core::JsonObjectSupport
|
1349
|
+
end
|
1350
|
+
|
1333
1351
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
1334
1352
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
1353
|
|
@@ -1912,6 +1930,18 @@ module Google
|
|
1912
1930
|
include Google::Apis::Core::JsonObjectSupport
|
1913
1931
|
end
|
1914
1932
|
|
1933
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1935
|
+
|
1936
|
+
include Google::Apis::Core::JsonObjectSupport
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
1940
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1941
|
+
|
1942
|
+
include Google::Apis::Core::JsonObjectSupport
|
1943
|
+
end
|
1944
|
+
|
1915
1945
|
class GoogleCloudDiscoveryengineV1SearchResponseSessionInfo
|
1916
1946
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1917
1947
|
|
@@ -3436,6 +3466,12 @@ module Google
|
|
3436
3466
|
include Google::Apis::Core::JsonObjectSupport
|
3437
3467
|
end
|
3438
3468
|
|
3469
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
3470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3471
|
+
|
3472
|
+
include Google::Apis::Core::JsonObjectSupport
|
3473
|
+
end
|
3474
|
+
|
3439
3475
|
class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
|
3440
3476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3441
3477
|
|
@@ -3802,6 +3838,18 @@ module Google
|
|
3802
3838
|
include Google::Apis::Core::JsonObjectSupport
|
3803
3839
|
end
|
3804
3840
|
|
3841
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
3842
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3843
|
+
|
3844
|
+
include Google::Apis::Core::JsonObjectSupport
|
3845
|
+
end
|
3846
|
+
|
3847
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
3848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3849
|
+
|
3850
|
+
include Google::Apis::Core::JsonObjectSupport
|
3851
|
+
end
|
3852
|
+
|
3805
3853
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
3806
3854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3807
3855
|
|
@@ -4648,6 +4696,15 @@ module Google
|
|
4648
4696
|
end
|
4649
4697
|
end
|
4650
4698
|
|
4699
|
+
class GoogleCloudDiscoveryengineV1AclConfig
|
4700
|
+
# @private
|
4701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4702
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfig::Representation
|
4703
|
+
|
4704
|
+
property :name, as: 'name'
|
4705
|
+
end
|
4706
|
+
end
|
4707
|
+
|
4651
4708
|
class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
|
4652
4709
|
# @private
|
4653
4710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6323,6 +6380,7 @@ module Google
|
|
6323
6380
|
class GoogleCloudDiscoveryengineV1Engine
|
6324
6381
|
# @private
|
6325
6382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6383
|
+
property :app_type, as: 'appType'
|
6326
6384
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineConfig::Representation
|
6327
6385
|
|
6328
6386
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata::Representation
|
@@ -6543,6 +6601,22 @@ module Google
|
|
6543
6601
|
end
|
6544
6602
|
end
|
6545
6603
|
|
6604
|
+
class GoogleCloudDiscoveryengineV1IdpConfig
|
6605
|
+
# @private
|
6606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6607
|
+
property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig::Representation
|
6608
|
+
|
6609
|
+
property :idp_type, as: 'idpType'
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6613
|
+
class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
|
6614
|
+
# @private
|
6615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6616
|
+
property :workforce_pool_name, as: 'workforcePoolName'
|
6617
|
+
end
|
6618
|
+
end
|
6619
|
+
|
6546
6620
|
class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
|
6547
6621
|
# @private
|
6548
6622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7244,6 +7318,8 @@ module Google
|
|
7244
7318
|
property :query, as: 'query'
|
7245
7319
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec::Representation
|
7246
7320
|
|
7321
|
+
property :ranking_expression, as: 'rankingExpression'
|
7322
|
+
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
7247
7323
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec::Representation
|
7248
7324
|
|
7249
7325
|
property :relevance_threshold, as: 'relevanceThreshold'
|
@@ -7522,6 +7598,32 @@ module Google
|
|
7522
7598
|
property :id, as: 'id'
|
7523
7599
|
hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList::Representation
|
7524
7600
|
|
7601
|
+
property :rank_signals, as: 'rankSignals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals::Representation
|
7602
|
+
|
7603
|
+
end
|
7604
|
+
end
|
7605
|
+
|
7606
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
7607
|
+
# @private
|
7608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7609
|
+
property :boosting_factor, as: 'boostingFactor'
|
7610
|
+
collection :custom_signals, as: 'customSignals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal::Representation
|
7611
|
+
|
7612
|
+
property :default_rank, as: 'defaultRank'
|
7613
|
+
property :document_age, as: 'documentAge'
|
7614
|
+
property :keyword_similarity_score, as: 'keywordSimilarityScore'
|
7615
|
+
property :pctr_rank, as: 'pctrRank'
|
7616
|
+
property :relevance_score, as: 'relevanceScore'
|
7617
|
+
property :semantic_similarity_score, as: 'semanticSimilarityScore'
|
7618
|
+
property :topicality_rank, as: 'topicalityRank'
|
7619
|
+
end
|
7620
|
+
end
|
7621
|
+
|
7622
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
7623
|
+
# @private
|
7624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7625
|
+
property :name, as: 'name'
|
7626
|
+
property :value, as: 'value'
|
7525
7627
|
end
|
7526
7628
|
end
|
7527
7629
|
|
@@ -8020,6 +8122,7 @@ module Google
|
|
8020
8122
|
hash :action_params, as: 'actionParams'
|
8021
8123
|
property :is_action_configured, as: 'isActionConfigured'
|
8022
8124
|
property :service_name, as: 'serviceName'
|
8125
|
+
property :use_static_secrets, as: 'useStaticSecrets'
|
8023
8126
|
end
|
8024
8127
|
end
|
8025
8128
|
|
@@ -8587,6 +8690,7 @@ module Google
|
|
8587
8690
|
|
8588
8691
|
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
|
8589
8692
|
|
8693
|
+
property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
|
8590
8694
|
property :identity_refresh_interval, as: 'identityRefreshInterval'
|
8591
8695
|
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
|
8592
8696
|
|
@@ -8915,6 +9019,7 @@ module Google
|
|
8915
9019
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
8916
9020
|
# @private
|
8917
9021
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9022
|
+
property :app_type, as: 'appType'
|
8918
9023
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
|
8919
9024
|
|
8920
9025
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
|
@@ -10135,6 +10240,15 @@ module Google
|
|
10135
10240
|
end
|
10136
10241
|
end
|
10137
10242
|
|
10243
|
+
class GoogleCloudDiscoveryengineV1betaAclConfig
|
10244
|
+
# @private
|
10245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10246
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfig::Representation
|
10247
|
+
|
10248
|
+
property :name, as: 'name'
|
10249
|
+
end
|
10250
|
+
end
|
10251
|
+
|
10138
10252
|
class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
|
10139
10253
|
# @private
|
10140
10254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10577,6 +10691,7 @@ module Google
|
|
10577
10691
|
class GoogleCloudDiscoveryengineV1betaEngine
|
10578
10692
|
# @private
|
10579
10693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10694
|
+
property :app_type, as: 'appType'
|
10580
10695
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig::Representation
|
10581
10696
|
|
10582
10697
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata::Representation
|
@@ -10738,6 +10853,22 @@ module Google
|
|
10738
10853
|
end
|
10739
10854
|
end
|
10740
10855
|
|
10856
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfig
|
10857
|
+
# @private
|
10858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10859
|
+
property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig::Representation
|
10860
|
+
|
10861
|
+
property :idp_type, as: 'idpType'
|
10862
|
+
end
|
10863
|
+
end
|
10864
|
+
|
10865
|
+
class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
|
10866
|
+
# @private
|
10867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10868
|
+
property :workforce_pool_name, as: 'workforcePoolName'
|
10869
|
+
end
|
10870
|
+
end
|
10871
|
+
|
10741
10872
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
10742
10873
|
# @private
|
10743
10874
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] parsed result object
|
151
|
+
# @yieldparam err [StandardError] error object if request failed
|
152
|
+
#
|
153
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig]
|
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, 'v1/{+name}', options)
|
160
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
|
161
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig
|
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/*/
|
@@ -166,6 +198,43 @@ module Google
|
|
166
198
|
execute_or_queue_command(command, &block)
|
167
199
|
end
|
168
200
|
|
201
|
+
# Default ACL configuration for use in a location of a customer's project.
|
202
|
+
# Updates will only reflect to new data stores. Existing data stores will still
|
203
|
+
# use the old value.
|
204
|
+
# @param [String] name
|
205
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
206
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
207
|
+
# string with a length limit of 1024 characters.
|
208
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] google_cloud_discoveryengine_v1_acl_config_object
|
209
|
+
# @param [String] fields
|
210
|
+
# Selector specifying which fields to include in a partial response.
|
211
|
+
# @param [String] quota_user
|
212
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
213
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
214
|
+
# @param [Google::Apis::RequestOptions] options
|
215
|
+
# Request-specific options
|
216
|
+
#
|
217
|
+
# @yield [result, err] Result & error if block supplied
|
218
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig] parsed result object
|
219
|
+
# @yieldparam err [StandardError] error object if request failed
|
220
|
+
#
|
221
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig]
|
222
|
+
#
|
223
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
224
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
225
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
226
|
+
def update_project_location_acl_config(name, google_cloud_discoveryengine_v1_acl_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
227
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
228
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
|
229
|
+
command.request_object = google_cloud_discoveryengine_v1_acl_config_object
|
230
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig::Representation
|
231
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AclConfig
|
232
|
+
command.params['name'] = name unless name.nil?
|
233
|
+
command.query['fields'] = fields unless fields.nil?
|
234
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
235
|
+
execute_or_queue_command(command, &block)
|
236
|
+
end
|
237
|
+
|
169
238
|
# Provisions a CMEK key for use in a location of a customer's project. This
|
170
239
|
# method will also conduct location validation on the provided cmekConfig to
|
171
240
|
# make sure the key is valid and can be used in the selected location.
|
@@ -2515,8 +2584,8 @@ module Google
|
|
2515
2584
|
# @param [String] order_by
|
2516
2585
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
2517
2586
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
2518
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
2519
|
-
# create_time
|
2587
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
2588
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
2520
2589
|
# first, then by update_time.
|
2521
2590
|
# @param [Fixnum] page_size
|
2522
2591
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -4734,8 +4803,8 @@ module Google
|
|
4734
4803
|
# @param [String] order_by
|
4735
4804
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
4736
4805
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
4737
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
4738
|
-
# create_time
|
4806
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
4807
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
4739
4808
|
# first, then by update_time.
|
4740
4809
|
# @param [Fixnum] page_size
|
4741
4810
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -6878,8 +6947,8 @@ module Google
|
|
6878
6947
|
# @param [String] order_by
|
6879
6948
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
6880
6949
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
6881
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
6882
|
-
# create_time
|
6950
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
6951
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
6883
6952
|
# first, then by update_time.
|
6884
6953
|
# @param [Fixnum] page_size
|
6885
6954
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.49.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_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.49.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:
|