google-apis-discoveryengine_v1alpha 0.45.0 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +89 -67
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +13 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +137 -57
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c1cbdc0410d868f3539c2346265ed0a11534271be51d032d2e37e2ba985ebfd
|
4
|
+
data.tar.gz: 5ea1e94b6ddd2c0ce47191ac76fb7dea8d8060930f26e1429e7729d6f301563f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1676b563c3d6149905df4647945604625cf6ab845382ead3e1695fc43e07ba07d0be67d7a4416e474525b17eab6d0f660ac1a5bc44a9350305b99f758e5bc681
|
7
|
+
data.tar.gz: 3f095ab86f4239015f382a4ad001934fd1fdaa2473c1a7375403749cb33ccb46b20c6dc41046cf4f60388a6f096bcc28cc0ee31eb7f462b41432538ecfcb2596
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1alpha
|
2
2
|
|
3
|
+
### v0.47.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240517
|
6
|
+
|
7
|
+
### v0.46.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240512
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.45.0 (2024-05-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240502
|
@@ -849,8 +849,7 @@ module Google
|
|
849
849
|
|
850
850
|
# The industry vertical that the engine registers. The restriction of the Engine
|
851
851
|
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
|
852
|
-
# Vertical on Engine has to match vertical of the DataStore
|
853
|
-
# engine.
|
852
|
+
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
|
854
853
|
# Corresponds to the JSON property `industryVertical`
|
855
854
|
# @return [String]
|
856
855
|
attr_accessor :industry_vertical
|
@@ -1844,7 +1843,7 @@ module Google
|
|
1844
1843
|
|
1845
1844
|
# The session resource name. Not required. When session field is not set, the
|
1846
1845
|
# API is in sessionless mode. We support auto session mode: users can use the
|
1847
|
-
# wildcard symbol
|
1846
|
+
# wildcard symbol `-` as session ID. A new ID will be automatically generated
|
1848
1847
|
# and assigned.
|
1849
1848
|
# Corresponds to the JSON property `session`
|
1850
1849
|
# @return [String]
|
@@ -3331,6 +3330,13 @@ module Google
|
|
3331
3330
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkPageSpan]
|
3332
3331
|
attr_accessor :page_span
|
3333
3332
|
|
3333
|
+
# Represents the relevance score based on similarity. Higher score represents
|
3334
|
+
# the chunk relevance. The score is in range [-1.0, 1.0]. Only populated on
|
3335
|
+
# SearchService.SearchResponse
|
3336
|
+
# Corresponds to the JSON property `relevanceScore`
|
3337
|
+
# @return [Float]
|
3338
|
+
attr_accessor :relevance_score
|
3339
|
+
|
3334
3340
|
def initialize(**args)
|
3335
3341
|
update!(**args)
|
3336
3342
|
end
|
@@ -3344,6 +3350,7 @@ module Google
|
|
3344
3350
|
@id = args[:id] if args.key?(:id)
|
3345
3351
|
@name = args[:name] if args.key?(:name)
|
3346
3352
|
@page_span = args[:page_span] if args.key?(:page_span)
|
3353
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
3347
3354
|
end
|
3348
3355
|
end
|
3349
3356
|
|
@@ -4508,9 +4515,9 @@ module Google
|
|
4508
4515
|
attr_accessor :promotion_ids
|
4509
4516
|
|
4510
4517
|
# Quantity of the Document associated with the user event. Defaults to 1. For
|
4511
|
-
# example, this field
|
4512
|
-
#
|
4513
|
-
#
|
4518
|
+
# example, this field is 2 if two quantities of the same Document are involved
|
4519
|
+
# in a `add-to-cart` event. Required for events of the following event types: * `
|
4520
|
+
# add-to-cart` * `purchase`
|
4514
4521
|
# Corresponds to the JSON property `quantity`
|
4515
4522
|
# @return [Fixnum]
|
4516
4523
|
attr_accessor :quantity
|
@@ -4846,8 +4853,7 @@ module Google
|
|
4846
4853
|
|
4847
4854
|
# The industry vertical that the engine registers. The restriction of the Engine
|
4848
4855
|
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
|
4849
|
-
# Vertical on Engine has to match vertical of the DataStore
|
4850
|
-
# engine.
|
4856
|
+
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
|
4851
4857
|
# Corresponds to the JSON property `industryVertical`
|
4852
4858
|
# @return [String]
|
4853
4859
|
attr_accessor :industry_vertical
|
@@ -5585,8 +5591,8 @@ module Google
|
|
5585
5591
|
class GoogleCloudDiscoveryengineV1alphaFirestoreSource
|
5586
5592
|
include Google::Apis::Core::Hashable
|
5587
5593
|
|
5588
|
-
# Required. The Firestore collection to copy the data from with a
|
5589
|
-
# of 1,500 characters.
|
5594
|
+
# Required. The Firestore collection (or entity) to copy the data from with a
|
5595
|
+
# length limit of 1,500 characters.
|
5590
5596
|
# Corresponds to the JSON property `collectionId`
|
5591
5597
|
# @return [String]
|
5592
5598
|
attr_accessor :collection_id
|
@@ -5639,17 +5645,17 @@ module Google
|
|
5639
5645
|
# vertical. * `csv`: A CSV file with header conforming to the defined Schema of
|
5640
5646
|
# the data store. Each entry after the header is imported as a Document. This
|
5641
5647
|
# can only be used by the GENERIC Data Store vertical. Supported values for user
|
5642
|
-
#
|
5648
|
+
# event imports: * `user_event` (default): One JSON UserEvent per line.
|
5643
5649
|
# Corresponds to the JSON property `dataSchema`
|
5644
5650
|
# @return [String]
|
5645
5651
|
attr_accessor :data_schema
|
5646
5652
|
|
5647
|
-
# Required. Cloud Storage URIs to input files. URI can be up to 2000
|
5648
|
-
# long. URIs can match the full object path (for example, `gs://
|
5649
|
-
# object.json`) or a pattern matching one or more files, such
|
5650
|
-
# directory/*.json`. A request can contain at most 100 files (or
|
5651
|
-
# if `data_schema` is `content`). Each file can be up to 2 GB (or
|
5652
|
-
# data_schema` is `content`).
|
5653
|
+
# Required. Cloud Storage URIs to input files. Each URI can be up to 2000
|
5654
|
+
# characters long. URIs can match the full object path (for example, `gs://
|
5655
|
+
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
5656
|
+
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or
|
5657
|
+
# 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or
|
5658
|
+
# 100 MB if `data_schema` is `content`).
|
5653
5659
|
# Corresponds to the JSON property `inputUris`
|
5654
5660
|
# @return [Array<String>]
|
5655
5661
|
attr_accessor :input_uris
|
@@ -7301,45 +7307,44 @@ module Google
|
|
7301
7307
|
# field, then attribute-based expressions are expected instead of the above
|
7302
7308
|
# described tag-based syntax. Examples: * (launguage: ANY("en", "es")) AND NOT (
|
7303
7309
|
# categories: ANY("Movie")) * (available: true) AND (launguage: ANY("en", "es"))
|
7304
|
-
# OR (categories: ANY("Movie")) If your filter blocks all results, the API
|
7305
|
-
#
|
7306
|
-
# strictly matching the filters, set `strictFiltering` to
|
7310
|
+
# OR (categories: ANY("Movie")) If your filter blocks all results, the API
|
7311
|
+
# returns generic (unfiltered) popular Documents. If you only want results
|
7312
|
+
# strictly matching the filters, set `strictFiltering` to `true` in
|
7307
7313
|
# RecommendRequest.params to receive empty results instead. Note that the API
|
7308
|
-
#
|
7314
|
+
# never returns Documents with `storageStatus` as `EXPIRED` or `DELETED`
|
7309
7315
|
# regardless of filter choices.
|
7310
7316
|
# Corresponds to the JSON property `filter`
|
7311
7317
|
# @return [String]
|
7312
7318
|
attr_accessor :filter
|
7313
7319
|
|
7314
7320
|
# Maximum number of results to return. Set this property to the number of
|
7315
|
-
# recommendation results needed. If zero, the service
|
7316
|
-
# default. The maximum allowed value is 100. Values above 100
|
7317
|
-
# 100.
|
7321
|
+
# recommendation results needed. If zero, the service chooses a reasonable
|
7322
|
+
# default. The maximum allowed value is 100. Values above 100 are set to 100.
|
7318
7323
|
# Corresponds to the JSON property `pageSize`
|
7319
7324
|
# @return [Fixnum]
|
7320
7325
|
attr_accessor :page_size
|
7321
7326
|
|
7322
7327
|
# Additional domain specific parameters for the recommendations. Allowed values:
|
7323
|
-
# * `returnDocument`: Boolean. If set to true
|
7324
|
-
#
|
7325
|
-
#
|
7326
|
-
#
|
7327
|
-
#
|
7328
|
-
#
|
7329
|
-
#
|
7330
|
-
#
|
7331
|
-
#
|
7332
|
-
#
|
7333
|
-
#
|
7334
|
-
#
|
7335
|
-
#
|
7336
|
-
#
|
7328
|
+
# * `returnDocument`: Boolean. If set to `true`, the associated Document object
|
7329
|
+
# is returned in RecommendResponse.RecommendationResult.document. * `returnScore`
|
7330
|
+
# : Boolean. If set to true, the recommendation score corresponding to each
|
7331
|
+
# returned Document is set in RecommendResponse.RecommendationResult.metadata.
|
7332
|
+
# The given score indicates the probability of a Document conversion given the
|
7333
|
+
# user's context and history. * `strictFiltering`: Boolean. True by default. If
|
7334
|
+
# set to `false`, the service returns generic (unfiltered) popular Documents
|
7335
|
+
# instead of empty if your filter blocks all recommendation results. * `
|
7336
|
+
# diversityLevel`: String. Default empty. If set to be non-empty, then it needs
|
7337
|
+
# to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-
|
7338
|
+
# diversity` * `auto-diversity` This gives request-level control and adjusts
|
7339
|
+
# recommendation results based on Document category. * `attributeFilteringSyntax`
|
7340
|
+
# : Boolean. False by default. If set to true, the `filter` field is interpreted
|
7341
|
+
# according to the new, attribute-based syntax.
|
7337
7342
|
# Corresponds to the JSON property `params`
|
7338
7343
|
# @return [Hash<String,Object>]
|
7339
7344
|
attr_accessor :params
|
7340
7345
|
|
7341
7346
|
# UserEvent captures all metadata information Discovery Engine API needs to know
|
7342
|
-
# about how end users interact with
|
7347
|
+
# about how end users interact with your website.
|
7343
7348
|
# Corresponds to the JSON property `userEvent`
|
7344
7349
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent]
|
7345
7350
|
attr_accessor :user_event
|
@@ -7359,10 +7364,9 @@ module Google
|
|
7359
7364
|
# @return [Hash<String,String>]
|
7360
7365
|
attr_accessor :user_labels
|
7361
7366
|
|
7362
|
-
# Use validate only mode for this recommendation query. If set to true
|
7363
|
-
# model
|
7364
|
-
#
|
7365
|
-
# ready.
|
7367
|
+
# Use validate only mode for this recommendation query. If set to `true`, a fake
|
7368
|
+
# model is used that returns arbitrary Document IDs. Note that the validate only
|
7369
|
+
# mode should only be used for testing the API, or if the model is not ready.
|
7366
7370
|
# Corresponds to the JSON property `validateOnly`
|
7367
7371
|
# @return [Boolean]
|
7368
7372
|
attr_accessor :validate_only
|
@@ -7441,7 +7445,7 @@ module Google
|
|
7441
7445
|
# @return [String]
|
7442
7446
|
attr_accessor :id
|
7443
7447
|
|
7444
|
-
# Additional Document metadata
|
7448
|
+
# Additional Document metadata or annotations. Possible values: * `score`:
|
7445
7449
|
# Recommendation score in double value. Is set if `returnScore` is set to true
|
7446
7450
|
# in RecommendRequest.params.
|
7447
7451
|
# Corresponds to the JSON property `metadata`
|
@@ -7632,7 +7636,7 @@ module Google
|
|
7632
7636
|
# @return [String]
|
7633
7637
|
attr_accessor :reply
|
7634
7638
|
|
7635
|
-
# Summary of the top N search
|
7639
|
+
# Summary of the top N search results specified by the summary spec.
|
7636
7640
|
# Corresponds to the JSON property `summary`
|
7637
7641
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary]
|
7638
7642
|
attr_accessor :summary
|
@@ -7858,7 +7862,10 @@ module Google
|
|
7858
7862
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
7859
7863
|
attr_accessor :custom_fine_tuning_spec
|
7860
7864
|
|
7861
|
-
#
|
7865
|
+
# Specs defining dataStores to filter on in a search call and configurations for
|
7866
|
+
# those dataStores. This is only considered for engines with multiple dataStores
|
7867
|
+
# use case. For single dataStore within an engine, they should use the specs at
|
7868
|
+
# the top level.
|
7862
7869
|
# Corresponds to the JSON property `dataStoreSpecs`
|
7863
7870
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
7864
7871
|
attr_accessor :data_store_specs
|
@@ -7932,12 +7939,12 @@ module Google
|
|
7932
7939
|
|
7933
7940
|
# Additional search parameters. For public website search only, supported values
|
7934
7941
|
# are: * `user_country_code`: string. Default empty. If set to non-empty,
|
7935
|
-
# results are restricted or boosted based on the location provided.
|
7936
|
-
# user_country_code: "au" For available codes see [Country Codes](https://
|
7942
|
+
# results are restricted or boosted based on the location provided. For example,
|
7943
|
+
# `user_country_code: "au"` For available codes see [Country Codes](https://
|
7937
7944
|
# developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `
|
7938
7945
|
# search_type`: double. Default empty. Enables non-webpage searching depending
|
7939
7946
|
# on the value. The only valid non-default value is 1, which enables image
|
7940
|
-
# searching.
|
7947
|
+
# searching. For example, `search_type: 1`
|
7941
7948
|
# Corresponds to the JSON property `params`
|
7942
7949
|
# @return [Hash<String,Object>]
|
7943
7950
|
attr_accessor :params
|
@@ -8508,7 +8515,9 @@ module Google
|
|
8508
8515
|
end
|
8509
8516
|
end
|
8510
8517
|
|
8511
|
-
# A struct to define data stores to filter on in a search call
|
8518
|
+
# A struct to define data stores to filter on in a search call and
|
8519
|
+
# configurations for those data stores. A maximum of 1 DataStoreSpec per
|
8520
|
+
# data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
8512
8521
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
8513
8522
|
include Google::Apis::Core::Hashable
|
8514
8523
|
|
@@ -8624,9 +8633,9 @@ module Google
|
|
8624
8633
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey]
|
8625
8634
|
attr_accessor :facet_key
|
8626
8635
|
|
8627
|
-
# Maximum
|
8628
|
-
# defaults to 20. The maximum allowed value is 300. Values above 300 are
|
8629
|
-
#
|
8636
|
+
# Maximum facet values that are returned for this facet. If unspecified,
|
8637
|
+
# defaults to 20. The maximum allowed value is 300. Values above 300 are coerced
|
8638
|
+
# to 300. If this field is negative, an `INVALID_ARGUMENT` is returned.
|
8630
8639
|
# Corresponds to the JSON property `limit`
|
8631
8640
|
# @return [Fixnum]
|
8632
8641
|
attr_accessor :limit
|
@@ -8655,7 +8664,7 @@ module Google
|
|
8655
8664
|
attr_accessor :case_insensitive
|
8656
8665
|
alias_method :case_insensitive?, :case_insensitive
|
8657
8666
|
|
8658
|
-
# Only get facet values that
|
8667
|
+
# Only get facet values that contain the given strings. For example, suppose "
|
8659
8668
|
# category" has three values "Action > 2022", "Action > 2021" and "Sci-Fi > 2022"
|
8660
8669
|
# . If set "contains" to "2022", the "category" facet only contains "Action >
|
8661
8670
|
# 2022" and "Sci-Fi > 2022". Only supported on textual fields. Maximum is 10.
|
@@ -8772,8 +8781,8 @@ module Google
|
|
8772
8781
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec
|
8773
8782
|
include Google::Apis::Core::Hashable
|
8774
8783
|
|
8775
|
-
# The mode under which spell correction
|
8776
|
-
#
|
8784
|
+
# The mode under which spell correction replaces the original search query.
|
8785
|
+
# Defaults to Mode.AUTO.
|
8777
8786
|
# Corresponds to the JSON property `mode`
|
8778
8787
|
# @return [String]
|
8779
8788
|
attr_accessor :mode
|
@@ -8851,7 +8860,7 @@ module Google
|
|
8851
8860
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult>]
|
8852
8861
|
attr_accessor :results
|
8853
8862
|
|
8854
|
-
# Summary of the top N search
|
8863
|
+
# Summary of the top N search results specified by the summary spec.
|
8855
8864
|
# Corresponds to the JSON property `summary`
|
8856
8865
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary]
|
8857
8866
|
attr_accessor :summary
|
@@ -8894,8 +8903,8 @@ module Google
|
|
8894
8903
|
attr_accessor :dynamic_facet
|
8895
8904
|
alias_method :dynamic_facet?, :dynamic_facet
|
8896
8905
|
|
8897
|
-
# The key for this facet.
|
8898
|
-
# FacetSpec.FacetKey.key.
|
8906
|
+
# The key for this facet. For example, `"colors"` or `"price"`. It matches
|
8907
|
+
# SearchRequest.FacetSpec.FacetKey.key.
|
8899
8908
|
# Corresponds to the JSON property `key`
|
8900
8909
|
# @return [String]
|
8901
8910
|
attr_accessor :key
|
@@ -9004,12 +9013,12 @@ module Google
|
|
9004
9013
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute
|
9005
9014
|
include Google::Apis::Core::Hashable
|
9006
9015
|
|
9007
|
-
# Attribute key used to refine the results
|
9016
|
+
# Attribute key used to refine the results. For example, `"movie_type"`.
|
9008
9017
|
# Corresponds to the JSON property `attributeKey`
|
9009
9018
|
# @return [String]
|
9010
9019
|
attr_accessor :attribute_key
|
9011
9020
|
|
9012
|
-
# Attribute value used to refine the results
|
9021
|
+
# Attribute value used to refine the results. For example, `"drama"`.
|
9013
9022
|
# Corresponds to the JSON property `attributeValue`
|
9014
9023
|
# @return [String]
|
9015
9024
|
attr_accessor :attribute_value
|
@@ -9092,7 +9101,7 @@ module Google
|
|
9092
9101
|
end
|
9093
9102
|
end
|
9094
9103
|
|
9095
|
-
# Summary of the top N search
|
9104
|
+
# Summary of the top N search results specified by the summary spec.
|
9096
9105
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
|
9097
9106
|
include Google::Apis::Core::Hashable
|
9098
9107
|
|
@@ -9644,7 +9653,8 @@ module Google
|
|
9644
9653
|
class GoogleCloudDiscoveryengineV1alphaSessionTurn
|
9645
9654
|
include Google::Apis::Core::Hashable
|
9646
9655
|
|
9647
|
-
# The resource name of the answer to the user query.
|
9656
|
+
# The resource name of the answer to the user query. Only set if the answer
|
9657
|
+
# generation (/answer API call) happened in this turn.
|
9648
9658
|
# Corresponds to the JSON property `answer`
|
9649
9659
|
# @return [String]
|
9650
9660
|
attr_accessor :answer
|
@@ -10259,7 +10269,7 @@ module Google
|
|
10259
10269
|
end
|
10260
10270
|
|
10261
10271
|
# UserEvent captures all metadata information Discovery Engine API needs to know
|
10262
|
-
# about how end users interact with
|
10272
|
+
# about how end users interact with your website.
|
10263
10273
|
class GoogleCloudDiscoveryengineV1alphaUserEvent
|
10264
10274
|
include Google::Apis::Core::Hashable
|
10265
10275
|
|
@@ -10398,7 +10408,7 @@ module Google
|
|
10398
10408
|
|
10399
10409
|
# A list of identifiers for the independent experiment groups this user event
|
10400
10410
|
# belongs to. This is used to distinguish between user events associated with
|
10401
|
-
# different experiment setups
|
10411
|
+
# different experiment setups.
|
10402
10412
|
# Corresponds to the JSON property `tagIds`
|
10403
10413
|
# @return [Array<String>]
|
10404
10414
|
attr_accessor :tag_ids
|
@@ -11113,8 +11123,7 @@ module Google
|
|
11113
11123
|
|
11114
11124
|
# The industry vertical that the engine registers. The restriction of the Engine
|
11115
11125
|
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
|
11116
|
-
# Vertical on Engine has to match vertical of the DataStore
|
11117
|
-
# engine.
|
11126
|
+
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
|
11118
11127
|
# Corresponds to the JSON property `industryVertical`
|
11119
11128
|
# @return [String]
|
11120
11129
|
attr_accessor :industry_vertical
|
@@ -12033,6 +12042,19 @@ module Google
|
|
12033
12042
|
end
|
12034
12043
|
end
|
12035
12044
|
|
12045
|
+
# The request message for Operations.CancelOperation.
|
12046
|
+
class GoogleLongrunningCancelOperationRequest
|
12047
|
+
include Google::Apis::Core::Hashable
|
12048
|
+
|
12049
|
+
def initialize(**args)
|
12050
|
+
update!(**args)
|
12051
|
+
end
|
12052
|
+
|
12053
|
+
# Update properties of this object
|
12054
|
+
def update!(**args)
|
12055
|
+
end
|
12056
|
+
end
|
12057
|
+
|
12036
12058
|
# The response message for Operations.ListOperations.
|
12037
12059
|
class GoogleLongrunningListOperationsResponse
|
12038
12060
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1alpha
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2086,6 +2086,12 @@ module Google
|
|
2086
2086
|
include Google::Apis::Core::JsonObjectSupport
|
2087
2087
|
end
|
2088
2088
|
|
2089
|
+
class GoogleLongrunningCancelOperationRequest
|
2090
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2091
|
+
|
2092
|
+
include Google::Apis::Core::JsonObjectSupport
|
2093
|
+
end
|
2094
|
+
|
2089
2095
|
class GoogleLongrunningListOperationsResponse
|
2090
2096
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2091
2097
|
|
@@ -3081,6 +3087,7 @@ module Google
|
|
3081
3087
|
property :name, as: 'name'
|
3082
3088
|
property :page_span, as: 'pageSpan', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkPageSpan, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkPageSpan::Representation
|
3083
3089
|
|
3090
|
+
property :relevance_score, as: 'relevanceScore'
|
3084
3091
|
end
|
3085
3092
|
end
|
3086
3093
|
|
@@ -5449,6 +5456,12 @@ module Google
|
|
5449
5456
|
end
|
5450
5457
|
end
|
5451
5458
|
|
5459
|
+
class GoogleLongrunningCancelOperationRequest
|
5460
|
+
# @private
|
5461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5462
|
+
end
|
5463
|
+
end
|
5464
|
+
|
5452
5465
|
class GoogleLongrunningListOperationsResponse
|
5453
5466
|
# @private
|
5454
5467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -745,14 +745,14 @@ module Google
|
|
745
745
|
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
|
746
746
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
747
747
|
# @param [String] document_id
|
748
|
-
# Required. The ID to use for the Document, which
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
#
|
748
|
+
# Required. The ID to use for the Document, which becomes the final component of
|
749
|
+
# the Document.name. If the caller does not have permission to create the
|
750
|
+
# Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error
|
751
|
+
# is returned. This field must be unique among all Documents with the same
|
752
|
+
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
753
|
+
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
754
|
+
# length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
755
|
+
# returned.
|
756
756
|
# @param [String] fields
|
757
757
|
# Selector specifying which fields to include in a partial response.
|
758
758
|
# @param [String] quota_user
|
@@ -895,8 +895,8 @@ module Google
|
|
895
895
|
end
|
896
896
|
|
897
897
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
898
|
-
# existing items
|
899
|
-
#
|
898
|
+
# existing items are created. Note: It is possible for a subset of the Documents
|
899
|
+
# to be successfully updated.
|
900
900
|
# @param [String] parent
|
901
901
|
# Required. The parent branch resource name, such as `projects/`project`/
|
902
902
|
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
@@ -941,8 +941,8 @@ module Google
|
|
941
941
|
# PERMISSION_DENIED` error is returned.
|
942
942
|
# @param [Fixnum] page_size
|
943
943
|
# Maximum number of Documents to return. If unspecified, defaults to 100. The
|
944
|
-
# maximum allowed value is 1000. Values above 1000
|
945
|
-
#
|
944
|
+
# maximum allowed value is 1000. Values above 1000 are set to 1000. If this
|
945
|
+
# field is negative, an `INVALID_ARGUMENT` error is returned.
|
946
946
|
# @param [String] page_token
|
947
947
|
# A page token ListDocumentsResponse.next_page_token, received from a previous
|
948
948
|
# DocumentService.ListDocuments call. Provide this to retrieve the subsequent
|
@@ -986,10 +986,10 @@ module Google
|
|
986
986
|
# with a length limit of 1024 characters.
|
987
987
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
988
988
|
# @param [Boolean] allow_missing
|
989
|
-
# If set to true
|
989
|
+
# If set to `true` and the Document is not found, a new Document is be created.
|
990
990
|
# @param [String] update_mask
|
991
991
|
# Indicates which fields in the provided imported 'document' to update. If not
|
992
|
-
# set,
|
992
|
+
# set, by default updates all fields.
|
993
993
|
# @param [String] fields
|
994
994
|
# Selector specifying which fields to include in a partial response.
|
995
995
|
# @param [String] quota_user
|
@@ -1141,6 +1141,46 @@ module Google
|
|
1141
1141
|
execute_or_queue_command(command, &block)
|
1142
1142
|
end
|
1143
1143
|
|
1144
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1145
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1146
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1147
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1148
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1149
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1150
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1151
|
+
# corresponding to `Code.CANCELLED`.
|
1152
|
+
# @param [String] name
|
1153
|
+
# The name of the operation resource to be cancelled.
|
1154
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
1155
|
+
# @param [String] fields
|
1156
|
+
# Selector specifying which fields to include in a partial response.
|
1157
|
+
# @param [String] quota_user
|
1158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1160
|
+
# @param [Google::Apis::RequestOptions] options
|
1161
|
+
# Request-specific options
|
1162
|
+
#
|
1163
|
+
# @yield [result, err] Result & error if block supplied
|
1164
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
1165
|
+
# @yieldparam err [StandardError] error object if request failed
|
1166
|
+
#
|
1167
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
1168
|
+
#
|
1169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1172
|
+
def cancel_project_location_collection_data_store_branch_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1173
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
|
1174
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningCancelOperationRequest::Representation
|
1175
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
1176
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
1177
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
1178
|
+
command.params['name'] = name unless name.nil?
|
1179
|
+
command.query['fields'] = fields unless fields.nil?
|
1180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1181
|
+
execute_or_queue_command(command, &block)
|
1182
|
+
end
|
1183
|
+
|
1144
1184
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1145
1185
|
# to poll the operation result at intervals as recommended by the API service.
|
1146
1186
|
# @param [String] name
|
@@ -1621,8 +1661,8 @@ module Google
|
|
1621
1661
|
# .
|
1622
1662
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema] google_cloud_discoveryengine_v1alpha_schema_object
|
1623
1663
|
# @param [String] schema_id
|
1624
|
-
# Required. The ID to use for the Schema, which
|
1625
|
-
#
|
1664
|
+
# Required. The ID to use for the Schema, which becomes the final component of
|
1665
|
+
# the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.
|
1626
1666
|
# org/html/rfc1034) standard with a length limit of 63 characters.
|
1627
1667
|
# @param [String] fields
|
1628
1668
|
# Selector specifying which fields to include in a partial response.
|
@@ -1725,8 +1765,8 @@ module Google
|
|
1725
1765
|
# .
|
1726
1766
|
# @param [Fixnum] page_size
|
1727
1767
|
# The maximum number of Schemas to return. The service may return fewer than
|
1728
|
-
# this value. If unspecified, at most 100 Schemas
|
1729
|
-
# value is 1000; values above 1000
|
1768
|
+
# this value. If unspecified, at most 100 Schemas are returned. The maximum
|
1769
|
+
# value is 1000; values above 1000 are set to 1000.
|
1730
1770
|
# @param [String] page_token
|
1731
1771
|
# A page token, received from a previous SchemaService.ListSchemas call. Provide
|
1732
1772
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
@@ -1769,8 +1809,8 @@ module Google
|
|
1769
1809
|
# limit of 1024 characters.
|
1770
1810
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema] google_cloud_discoveryengine_v1alpha_schema_object
|
1771
1811
|
# @param [Boolean] allow_missing
|
1772
|
-
# If set to true, and the Schema is not found, a new Schema
|
1773
|
-
#
|
1812
|
+
# If set to true, and the Schema is not found, a new Schema is created. In this
|
1813
|
+
# situation, `update_mask` is ignored.
|
1774
1814
|
# @param [String] fields
|
1775
1815
|
# Selector specifying which fields to include in a partial response.
|
1776
1816
|
# @param [String] quota_user
|
@@ -2028,11 +2068,11 @@ module Google
|
|
2028
2068
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
2029
2069
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
2030
2070
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
2031
|
-
# created along with your recommendation engine creation. The engine ID
|
2032
|
-
#
|
2033
|
-
#
|
2034
|
-
#
|
2035
|
-
#
|
2071
|
+
# created along with your recommendation engine creation. The engine ID is used
|
2072
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
2073
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
2074
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
2075
|
+
# your RecommendationService.Recommend requests.
|
2036
2076
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendRequest] google_cloud_discoveryengine_v1alpha_recommend_request_object
|
2037
2077
|
# @param [String] fields
|
2038
2078
|
# Selector specifying which fields to include in a partial response.
|
@@ -2985,7 +3025,7 @@ module Google
|
|
2985
3025
|
execute_or_queue_command(command, &block)
|
2986
3026
|
end
|
2987
3027
|
|
2988
|
-
# Bulk import of
|
3028
|
+
# Bulk import of user events. Request processing might be synchronous. Events
|
2989
3029
|
# that already exist are skipped. Use this method for backfilling historical
|
2990
3030
|
# user events. Operation.response is of type ImportResponse. Note that it is
|
2991
3031
|
# possible for a subset of the items to be successfully inserted. Operation.
|
@@ -3847,11 +3887,11 @@ module Google
|
|
3847
3887
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
3848
3888
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
3849
3889
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
3850
|
-
# created along with your recommendation engine creation. The engine ID
|
3851
|
-
#
|
3852
|
-
#
|
3853
|
-
#
|
3854
|
-
#
|
3890
|
+
# created along with your recommendation engine creation. The engine ID is used
|
3891
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
3892
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
3893
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
3894
|
+
# your RecommendationService.Recommend requests.
|
3855
3895
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendRequest] google_cloud_discoveryengine_v1alpha_recommend_request_object
|
3856
3896
|
# @param [String] fields
|
3857
3897
|
# Selector specifying which fields to include in a partial response.
|
@@ -4593,14 +4633,14 @@ module Google
|
|
4593
4633
|
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
|
4594
4634
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
4595
4635
|
# @param [String] document_id
|
4596
|
-
# Required. The ID to use for the Document, which
|
4597
|
-
#
|
4598
|
-
#
|
4599
|
-
#
|
4600
|
-
#
|
4601
|
-
#
|
4602
|
-
#
|
4603
|
-
#
|
4636
|
+
# Required. The ID to use for the Document, which becomes the final component of
|
4637
|
+
# the Document.name. If the caller does not have permission to create the
|
4638
|
+
# Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error
|
4639
|
+
# is returned. This field must be unique among all Documents with the same
|
4640
|
+
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
4641
|
+
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
4642
|
+
# length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
4643
|
+
# returned.
|
4604
4644
|
# @param [String] fields
|
4605
4645
|
# Selector specifying which fields to include in a partial response.
|
4606
4646
|
# @param [String] quota_user
|
@@ -4743,8 +4783,8 @@ module Google
|
|
4743
4783
|
end
|
4744
4784
|
|
4745
4785
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
4746
|
-
# existing items
|
4747
|
-
#
|
4786
|
+
# existing items are created. Note: It is possible for a subset of the Documents
|
4787
|
+
# to be successfully updated.
|
4748
4788
|
# @param [String] parent
|
4749
4789
|
# Required. The parent branch resource name, such as `projects/`project`/
|
4750
4790
|
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
@@ -4789,8 +4829,8 @@ module Google
|
|
4789
4829
|
# PERMISSION_DENIED` error is returned.
|
4790
4830
|
# @param [Fixnum] page_size
|
4791
4831
|
# Maximum number of Documents to return. If unspecified, defaults to 100. The
|
4792
|
-
# maximum allowed value is 1000. Values above 1000
|
4793
|
-
#
|
4832
|
+
# maximum allowed value is 1000. Values above 1000 are set to 1000. If this
|
4833
|
+
# field is negative, an `INVALID_ARGUMENT` error is returned.
|
4794
4834
|
# @param [String] page_token
|
4795
4835
|
# A page token ListDocumentsResponse.next_page_token, received from a previous
|
4796
4836
|
# DocumentService.ListDocuments call. Provide this to retrieve the subsequent
|
@@ -4834,10 +4874,10 @@ module Google
|
|
4834
4874
|
# with a length limit of 1024 characters.
|
4835
4875
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
4836
4876
|
# @param [Boolean] allow_missing
|
4837
|
-
# If set to true
|
4877
|
+
# If set to `true` and the Document is not found, a new Document is be created.
|
4838
4878
|
# @param [String] update_mask
|
4839
4879
|
# Indicates which fields in the provided imported 'document' to update. If not
|
4840
|
-
# set,
|
4880
|
+
# set, by default updates all fields.
|
4841
4881
|
# @param [String] fields
|
4842
4882
|
# Selector specifying which fields to include in a partial response.
|
4843
4883
|
# @param [String] quota_user
|
@@ -4989,6 +5029,46 @@ module Google
|
|
4989
5029
|
execute_or_queue_command(command, &block)
|
4990
5030
|
end
|
4991
5031
|
|
5032
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
5033
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
5034
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
5035
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
5036
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
5037
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
5038
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
5039
|
+
# corresponding to `Code.CANCELLED`.
|
5040
|
+
# @param [String] name
|
5041
|
+
# The name of the operation resource to be cancelled.
|
5042
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
5043
|
+
# @param [String] fields
|
5044
|
+
# Selector specifying which fields to include in a partial response.
|
5045
|
+
# @param [String] quota_user
|
5046
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5047
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5048
|
+
# @param [Google::Apis::RequestOptions] options
|
5049
|
+
# Request-specific options
|
5050
|
+
#
|
5051
|
+
# @yield [result, err] Result & error if block supplied
|
5052
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
5053
|
+
# @yieldparam err [StandardError] error object if request failed
|
5054
|
+
#
|
5055
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
5056
|
+
#
|
5057
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5058
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5059
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5060
|
+
def cancel_project_location_data_store_branch_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5061
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
|
5062
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningCancelOperationRequest::Representation
|
5063
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
5064
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
5065
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
5066
|
+
command.params['name'] = name unless name.nil?
|
5067
|
+
command.query['fields'] = fields unless fields.nil?
|
5068
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5069
|
+
execute_or_queue_command(command, &block)
|
5070
|
+
end
|
5071
|
+
|
4992
5072
|
# Gets the latest state of a long-running operation. Clients can use this method
|
4993
5073
|
# to poll the operation result at intervals as recommended by the API service.
|
4994
5074
|
# @param [String] name
|
@@ -5437,8 +5517,8 @@ module Google
|
|
5437
5517
|
# .
|
5438
5518
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema] google_cloud_discoveryengine_v1alpha_schema_object
|
5439
5519
|
# @param [String] schema_id
|
5440
|
-
# Required. The ID to use for the Schema, which
|
5441
|
-
#
|
5520
|
+
# Required. The ID to use for the Schema, which becomes the final component of
|
5521
|
+
# the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.
|
5442
5522
|
# org/html/rfc1034) standard with a length limit of 63 characters.
|
5443
5523
|
# @param [String] fields
|
5444
5524
|
# Selector specifying which fields to include in a partial response.
|
@@ -5541,8 +5621,8 @@ module Google
|
|
5541
5621
|
# .
|
5542
5622
|
# @param [Fixnum] page_size
|
5543
5623
|
# The maximum number of Schemas to return. The service may return fewer than
|
5544
|
-
# this value. If unspecified, at most 100 Schemas
|
5545
|
-
# value is 1000; values above 1000
|
5624
|
+
# this value. If unspecified, at most 100 Schemas are returned. The maximum
|
5625
|
+
# value is 1000; values above 1000 are set to 1000.
|
5546
5626
|
# @param [String] page_token
|
5547
5627
|
# A page token, received from a previous SchemaService.ListSchemas call. Provide
|
5548
5628
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
@@ -5585,8 +5665,8 @@ module Google
|
|
5585
5665
|
# limit of 1024 characters.
|
5586
5666
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema] google_cloud_discoveryengine_v1alpha_schema_object
|
5587
5667
|
# @param [Boolean] allow_missing
|
5588
|
-
# If set to true, and the Schema is not found, a new Schema
|
5589
|
-
#
|
5668
|
+
# If set to true, and the Schema is not found, a new Schema is created. In this
|
5669
|
+
# situation, `update_mask` is ignored.
|
5590
5670
|
# @param [String] fields
|
5591
5671
|
# Selector specifying which fields to include in a partial response.
|
5592
5672
|
# @param [String] quota_user
|
@@ -5773,11 +5853,11 @@ module Google
|
|
5773
5853
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
5774
5854
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
5775
5855
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
5776
|
-
# created along with your recommendation engine creation. The engine ID
|
5777
|
-
#
|
5778
|
-
#
|
5779
|
-
#
|
5780
|
-
#
|
5856
|
+
# created along with your recommendation engine creation. The engine ID is used
|
5857
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
5858
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
5859
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
5860
|
+
# your RecommendationService.Recommend requests.
|
5781
5861
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendRequest] google_cloud_discoveryengine_v1alpha_recommend_request_object
|
5782
5862
|
# @param [String] fields
|
5783
5863
|
# Selector specifying which fields to include in a partial response.
|
@@ -6507,7 +6587,7 @@ module Google
|
|
6507
6587
|
execute_or_queue_command(command, &block)
|
6508
6588
|
end
|
6509
6589
|
|
6510
|
-
# Bulk import of
|
6590
|
+
# Bulk import of user events. Request processing might be synchronous. Events
|
6511
6591
|
# that already exist are skipped. Use this method for backfilling historical
|
6512
6592
|
# user events. Operation.response is of type ImportResponse. Note that it is
|
6513
6593
|
# possible for a subset of the items to be successfully inserted. Operation.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.47.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|