google-apis-discoveryengine_v1beta 0.44.0 → 0.45.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 +5 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +83 -68
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +12 -0
- data/lib/google/apis/discoveryengine_v1beta/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: 44f2bef47397fb18afb8c60babf870faaa94e3b4f6d83c0912d4340af7d8faba
|
|
4
|
+
data.tar.gz: 341ad63cef1ce657905dfdb75e9a1bb078d2099d7b326b0fa7d8a731f4cbf94a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 457e9f552e33d5cd9111db9cea4155c5cf92f11dccd6f59a0421fd7138b6e75f8c161c394589590a5dc183c11b3ce7e0c59cb59da6aca1a2b72b5e101be75faf
|
|
7
|
+
data.tar.gz: a2e8ed4d258d30656f6490a649aa59ed171d7a7099d21efc16b03c9668104696a24a334dc09fd7d150e02d30880932bab33e01ab6e89cd06ebd25a3540f019ce
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.45.0 (2024-05-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240517
|
|
6
|
+
* Regenerated using generator version 0.15.0
|
|
7
|
+
|
|
3
8
|
### v0.44.0 (2024-05-05)
|
|
4
9
|
|
|
5
10
|
* 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
|
|
@@ -2920,8 +2919,7 @@ module Google
|
|
|
2920
2919
|
|
|
2921
2920
|
# The industry vertical that the engine registers. The restriction of the Engine
|
|
2922
2921
|
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
|
|
2923
|
-
# Vertical on Engine has to match vertical of the DataStore
|
|
2924
|
-
# engine.
|
|
2922
|
+
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
|
|
2925
2923
|
# Corresponds to the JSON property `industryVertical`
|
|
2926
2924
|
# @return [String]
|
|
2927
2925
|
attr_accessor :industry_vertical
|
|
@@ -4283,7 +4281,8 @@ module Google
|
|
|
4283
4281
|
class GoogleCloudDiscoveryengineV1alphaSessionTurn
|
|
4284
4282
|
include Google::Apis::Core::Hashable
|
|
4285
4283
|
|
|
4286
|
-
# The resource name of the answer to the user query.
|
|
4284
|
+
# The resource name of the answer to the user query. Only set if the answer
|
|
4285
|
+
# generation (/answer API call) happened in this turn.
|
|
4287
4286
|
# Corresponds to the JSON property `answer`
|
|
4288
4287
|
# @return [String]
|
|
4289
4288
|
attr_accessor :answer
|
|
@@ -4793,7 +4792,7 @@ module Google
|
|
|
4793
4792
|
|
|
4794
4793
|
# The session resource name. Not required. When session field is not set, the
|
|
4795
4794
|
# API is in sessionless mode. We support auto session mode: users can use the
|
|
4796
|
-
# wildcard symbol
|
|
4795
|
+
# wildcard symbol `-` as session ID. A new ID will be automatically generated
|
|
4797
4796
|
# and assigned.
|
|
4798
4797
|
# Corresponds to the JSON property `session`
|
|
4799
4798
|
# @return [String]
|
|
@@ -7201,9 +7200,9 @@ module Google
|
|
|
7201
7200
|
attr_accessor :promotion_ids
|
|
7202
7201
|
|
|
7203
7202
|
# Quantity of the Document associated with the user event. Defaults to 1. For
|
|
7204
|
-
# example, this field
|
|
7205
|
-
#
|
|
7206
|
-
#
|
|
7203
|
+
# example, this field is 2 if two quantities of the same Document are involved
|
|
7204
|
+
# in a `add-to-cart` event. Required for events of the following event types: * `
|
|
7205
|
+
# add-to-cart` * `purchase`
|
|
7207
7206
|
# Corresponds to the JSON property `quantity`
|
|
7208
7207
|
# @return [Fixnum]
|
|
7209
7208
|
attr_accessor :quantity
|
|
@@ -7467,8 +7466,7 @@ module Google
|
|
|
7467
7466
|
|
|
7468
7467
|
# The industry vertical that the engine registers. The restriction of the Engine
|
|
7469
7468
|
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
|
|
7470
|
-
# Vertical on Engine has to match vertical of the DataStore
|
|
7471
|
-
# engine.
|
|
7469
|
+
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
|
|
7472
7470
|
# Corresponds to the JSON property `industryVertical`
|
|
7473
7471
|
# @return [String]
|
|
7474
7472
|
attr_accessor :industry_vertical
|
|
@@ -7772,8 +7770,8 @@ module Google
|
|
|
7772
7770
|
class GoogleCloudDiscoveryengineV1betaFirestoreSource
|
|
7773
7771
|
include Google::Apis::Core::Hashable
|
|
7774
7772
|
|
|
7775
|
-
# Required. The Firestore collection to copy the data from with a
|
|
7776
|
-
# of 1,500 characters.
|
|
7773
|
+
# Required. The Firestore collection (or entity) to copy the data from with a
|
|
7774
|
+
# length limit of 1,500 characters.
|
|
7777
7775
|
# Corresponds to the JSON property `collectionId`
|
|
7778
7776
|
# @return [String]
|
|
7779
7777
|
attr_accessor :collection_id
|
|
@@ -7826,17 +7824,17 @@ module Google
|
|
|
7826
7824
|
# vertical. * `csv`: A CSV file with header conforming to the defined Schema of
|
|
7827
7825
|
# the data store. Each entry after the header is imported as a Document. This
|
|
7828
7826
|
# can only be used by the GENERIC Data Store vertical. Supported values for user
|
|
7829
|
-
#
|
|
7827
|
+
# event imports: * `user_event` (default): One JSON UserEvent per line.
|
|
7830
7828
|
# Corresponds to the JSON property `dataSchema`
|
|
7831
7829
|
# @return [String]
|
|
7832
7830
|
attr_accessor :data_schema
|
|
7833
7831
|
|
|
7834
|
-
# Required. Cloud Storage URIs to input files. URI can be up to 2000
|
|
7835
|
-
# long. URIs can match the full object path (for example, `gs://
|
|
7836
|
-
# object.json`) or a pattern matching one or more files, such
|
|
7837
|
-
# directory/*.json`. A request can contain at most 100 files (or
|
|
7838
|
-
# if `data_schema` is `content`). Each file can be up to 2 GB (or
|
|
7839
|
-
# data_schema` is `content`).
|
|
7832
|
+
# Required. Cloud Storage URIs to input files. Each URI can be up to 2000
|
|
7833
|
+
# characters long. URIs can match the full object path (for example, `gs://
|
|
7834
|
+
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
|
7835
|
+
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or
|
|
7836
|
+
# 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or
|
|
7837
|
+
# 100 MB if `data_schema` is `content`).
|
|
7840
7838
|
# Corresponds to the JSON property `inputUris`
|
|
7841
7839
|
# @return [Array<String>]
|
|
7842
7840
|
attr_accessor :input_uris
|
|
@@ -9060,45 +9058,44 @@ module Google
|
|
|
9060
9058
|
# field, then attribute-based expressions are expected instead of the above
|
|
9061
9059
|
# described tag-based syntax. Examples: * (launguage: ANY("en", "es")) AND NOT (
|
|
9062
9060
|
# categories: ANY("Movie")) * (available: true) AND (launguage: ANY("en", "es"))
|
|
9063
|
-
# OR (categories: ANY("Movie")) If your filter blocks all results, the API
|
|
9064
|
-
#
|
|
9065
|
-
# strictly matching the filters, set `strictFiltering` to
|
|
9061
|
+
# OR (categories: ANY("Movie")) If your filter blocks all results, the API
|
|
9062
|
+
# returns generic (unfiltered) popular Documents. If you only want results
|
|
9063
|
+
# strictly matching the filters, set `strictFiltering` to `true` in
|
|
9066
9064
|
# RecommendRequest.params to receive empty results instead. Note that the API
|
|
9067
|
-
#
|
|
9065
|
+
# never returns Documents with `storageStatus` as `EXPIRED` or `DELETED`
|
|
9068
9066
|
# regardless of filter choices.
|
|
9069
9067
|
# Corresponds to the JSON property `filter`
|
|
9070
9068
|
# @return [String]
|
|
9071
9069
|
attr_accessor :filter
|
|
9072
9070
|
|
|
9073
9071
|
# Maximum number of results to return. Set this property to the number of
|
|
9074
|
-
# recommendation results needed. If zero, the service
|
|
9075
|
-
# default. The maximum allowed value is 100. Values above 100
|
|
9076
|
-
# 100.
|
|
9072
|
+
# recommendation results needed. If zero, the service chooses a reasonable
|
|
9073
|
+
# default. The maximum allowed value is 100. Values above 100 are set to 100.
|
|
9077
9074
|
# Corresponds to the JSON property `pageSize`
|
|
9078
9075
|
# @return [Fixnum]
|
|
9079
9076
|
attr_accessor :page_size
|
|
9080
9077
|
|
|
9081
9078
|
# Additional domain specific parameters for the recommendations. Allowed values:
|
|
9082
|
-
# * `returnDocument`: Boolean. If set to true
|
|
9083
|
-
#
|
|
9084
|
-
#
|
|
9085
|
-
#
|
|
9086
|
-
#
|
|
9087
|
-
#
|
|
9088
|
-
#
|
|
9089
|
-
#
|
|
9090
|
-
#
|
|
9091
|
-
#
|
|
9092
|
-
#
|
|
9093
|
-
#
|
|
9094
|
-
#
|
|
9095
|
-
#
|
|
9079
|
+
# * `returnDocument`: Boolean. If set to `true`, the associated Document object
|
|
9080
|
+
# is returned in RecommendResponse.RecommendationResult.document. * `returnScore`
|
|
9081
|
+
# : Boolean. If set to true, the recommendation score corresponding to each
|
|
9082
|
+
# returned Document is set in RecommendResponse.RecommendationResult.metadata.
|
|
9083
|
+
# The given score indicates the probability of a Document conversion given the
|
|
9084
|
+
# user's context and history. * `strictFiltering`: Boolean. True by default. If
|
|
9085
|
+
# set to `false`, the service returns generic (unfiltered) popular Documents
|
|
9086
|
+
# instead of empty if your filter blocks all recommendation results. * `
|
|
9087
|
+
# diversityLevel`: String. Default empty. If set to be non-empty, then it needs
|
|
9088
|
+
# to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-
|
|
9089
|
+
# diversity` * `auto-diversity` This gives request-level control and adjusts
|
|
9090
|
+
# recommendation results based on Document category. * `attributeFilteringSyntax`
|
|
9091
|
+
# : Boolean. False by default. If set to true, the `filter` field is interpreted
|
|
9092
|
+
# according to the new, attribute-based syntax.
|
|
9096
9093
|
# Corresponds to the JSON property `params`
|
|
9097
9094
|
# @return [Hash<String,Object>]
|
|
9098
9095
|
attr_accessor :params
|
|
9099
9096
|
|
|
9100
9097
|
# UserEvent captures all metadata information Discovery Engine API needs to know
|
|
9101
|
-
# about how end users interact with
|
|
9098
|
+
# about how end users interact with your website.
|
|
9102
9099
|
# Corresponds to the JSON property `userEvent`
|
|
9103
9100
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent]
|
|
9104
9101
|
attr_accessor :user_event
|
|
@@ -9118,10 +9115,9 @@ module Google
|
|
|
9118
9115
|
# @return [Hash<String,String>]
|
|
9119
9116
|
attr_accessor :user_labels
|
|
9120
9117
|
|
|
9121
|
-
# Use validate only mode for this recommendation query. If set to true
|
|
9122
|
-
# model
|
|
9123
|
-
#
|
|
9124
|
-
# ready.
|
|
9118
|
+
# Use validate only mode for this recommendation query. If set to `true`, a fake
|
|
9119
|
+
# model is used that returns arbitrary Document IDs. Note that the validate only
|
|
9120
|
+
# mode should only be used for testing the API, or if the model is not ready.
|
|
9125
9121
|
# Corresponds to the JSON property `validateOnly`
|
|
9126
9122
|
# @return [Boolean]
|
|
9127
9123
|
attr_accessor :validate_only
|
|
@@ -9200,7 +9196,7 @@ module Google
|
|
|
9200
9196
|
# @return [String]
|
|
9201
9197
|
attr_accessor :id
|
|
9202
9198
|
|
|
9203
|
-
# Additional Document metadata
|
|
9199
|
+
# Additional Document metadata or annotations. Possible values: * `score`:
|
|
9204
9200
|
# Recommendation score in double value. Is set if `returnScore` is set to true
|
|
9205
9201
|
# in RecommendRequest.params.
|
|
9206
9202
|
# Corresponds to the JSON property `metadata`
|
|
@@ -9254,7 +9250,7 @@ module Google
|
|
|
9254
9250
|
# @return [String]
|
|
9255
9251
|
attr_accessor :reply
|
|
9256
9252
|
|
|
9257
|
-
# Summary of the top N search
|
|
9253
|
+
# Summary of the top N search results specified by the summary spec.
|
|
9258
9254
|
# Corresponds to the JSON property `summary`
|
|
9259
9255
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary]
|
|
9260
9256
|
attr_accessor :summary
|
|
@@ -9434,7 +9430,10 @@ module Google
|
|
|
9434
9430
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
|
|
9435
9431
|
attr_accessor :content_search_spec
|
|
9436
9432
|
|
|
9437
|
-
#
|
|
9433
|
+
# Specs defining dataStores to filter on in a search call and configurations for
|
|
9434
|
+
# those dataStores. This is only considered for engines with multiple dataStores
|
|
9435
|
+
# use case. For single dataStore within an engine, they should use the specs at
|
|
9436
|
+
# the top level.
|
|
9438
9437
|
# Corresponds to the JSON property `dataStoreSpecs`
|
|
9439
9438
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
|
|
9440
9439
|
attr_accessor :data_store_specs
|
|
@@ -9508,12 +9507,12 @@ module Google
|
|
|
9508
9507
|
|
|
9509
9508
|
# Additional search parameters. For public website search only, supported values
|
|
9510
9509
|
# are: * `user_country_code`: string. Default empty. If set to non-empty,
|
|
9511
|
-
# results are restricted or boosted based on the location provided.
|
|
9512
|
-
# user_country_code: "au" For available codes see [Country Codes](https://
|
|
9510
|
+
# results are restricted or boosted based on the location provided. For example,
|
|
9511
|
+
# `user_country_code: "au"` For available codes see [Country Codes](https://
|
|
9513
9512
|
# developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `
|
|
9514
9513
|
# search_type`: double. Default empty. Enables non-webpage searching depending
|
|
9515
9514
|
# on the value. The only valid non-default value is 1, which enables image
|
|
9516
|
-
# searching.
|
|
9515
|
+
# searching. For example, `search_type: 1`
|
|
9517
9516
|
# Corresponds to the JSON property `params`
|
|
9518
9517
|
# @return [Hash<String,Object>]
|
|
9519
9518
|
attr_accessor :params
|
|
@@ -10037,7 +10036,9 @@ module Google
|
|
|
10037
10036
|
end
|
|
10038
10037
|
end
|
|
10039
10038
|
|
|
10040
|
-
# A struct to define data stores to filter on in a search call
|
|
10039
|
+
# A struct to define data stores to filter on in a search call and
|
|
10040
|
+
# configurations for those data stores. A maximum of 1 DataStoreSpec per
|
|
10041
|
+
# data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
10041
10042
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
|
10042
10043
|
include Google::Apis::Core::Hashable
|
|
10043
10044
|
|
|
@@ -10153,9 +10154,9 @@ module Google
|
|
|
10153
10154
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey]
|
|
10154
10155
|
attr_accessor :facet_key
|
|
10155
10156
|
|
|
10156
|
-
# Maximum
|
|
10157
|
-
# defaults to 20. The maximum allowed value is 300. Values above 300 are
|
|
10158
|
-
#
|
|
10157
|
+
# Maximum facet values that are returned for this facet. If unspecified,
|
|
10158
|
+
# defaults to 20. The maximum allowed value is 300. Values above 300 are coerced
|
|
10159
|
+
# to 300. If this field is negative, an `INVALID_ARGUMENT` is returned.
|
|
10159
10160
|
# Corresponds to the JSON property `limit`
|
|
10160
10161
|
# @return [Fixnum]
|
|
10161
10162
|
attr_accessor :limit
|
|
@@ -10184,7 +10185,7 @@ module Google
|
|
|
10184
10185
|
attr_accessor :case_insensitive
|
|
10185
10186
|
alias_method :case_insensitive?, :case_insensitive
|
|
10186
10187
|
|
|
10187
|
-
# Only get facet values that
|
|
10188
|
+
# Only get facet values that contain the given strings. For example, suppose "
|
|
10188
10189
|
# category" has three values "Action > 2022", "Action > 2021" and "Sci-Fi > 2022"
|
|
10189
10190
|
# . If set "contains" to "2022", the "category" facet only contains "Action >
|
|
10190
10191
|
# 2022" and "Sci-Fi > 2022". Only supported on textual fields. Maximum is 10.
|
|
@@ -10301,8 +10302,8 @@ module Google
|
|
|
10301
10302
|
class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec
|
|
10302
10303
|
include Google::Apis::Core::Hashable
|
|
10303
10304
|
|
|
10304
|
-
# The mode under which spell correction
|
|
10305
|
-
#
|
|
10305
|
+
# The mode under which spell correction replaces the original search query.
|
|
10306
|
+
# Defaults to Mode.AUTO.
|
|
10306
10307
|
# Corresponds to the JSON property `mode`
|
|
10307
10308
|
# @return [String]
|
|
10308
10309
|
attr_accessor :mode
|
|
@@ -10380,7 +10381,7 @@ module Google
|
|
|
10380
10381
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult>]
|
|
10381
10382
|
attr_accessor :results
|
|
10382
10383
|
|
|
10383
|
-
# Summary of the top N search
|
|
10384
|
+
# Summary of the top N search results specified by the summary spec.
|
|
10384
10385
|
# Corresponds to the JSON property `summary`
|
|
10385
10386
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary]
|
|
10386
10387
|
attr_accessor :summary
|
|
@@ -10423,8 +10424,8 @@ module Google
|
|
|
10423
10424
|
attr_accessor :dynamic_facet
|
|
10424
10425
|
alias_method :dynamic_facet?, :dynamic_facet
|
|
10425
10426
|
|
|
10426
|
-
# The key for this facet.
|
|
10427
|
-
# FacetSpec.FacetKey.key.
|
|
10427
|
+
# The key for this facet. For example, `"colors"` or `"price"`. It matches
|
|
10428
|
+
# SearchRequest.FacetSpec.FacetKey.key.
|
|
10428
10429
|
# Corresponds to the JSON property `key`
|
|
10429
10430
|
# @return [String]
|
|
10430
10431
|
attr_accessor :key
|
|
@@ -10533,12 +10534,12 @@ module Google
|
|
|
10533
10534
|
class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute
|
|
10534
10535
|
include Google::Apis::Core::Hashable
|
|
10535
10536
|
|
|
10536
|
-
# Attribute key used to refine the results
|
|
10537
|
+
# Attribute key used to refine the results. For example, `"movie_type"`.
|
|
10537
10538
|
# Corresponds to the JSON property `attributeKey`
|
|
10538
10539
|
# @return [String]
|
|
10539
10540
|
attr_accessor :attribute_key
|
|
10540
10541
|
|
|
10541
|
-
# Attribute value used to refine the results
|
|
10542
|
+
# Attribute value used to refine the results. For example, `"drama"`.
|
|
10542
10543
|
# Corresponds to the JSON property `attributeValue`
|
|
10543
10544
|
# @return [String]
|
|
10544
10545
|
attr_accessor :attribute_value
|
|
@@ -10614,7 +10615,7 @@ module Google
|
|
|
10614
10615
|
end
|
|
10615
10616
|
end
|
|
10616
10617
|
|
|
10617
|
-
# Summary of the top N search
|
|
10618
|
+
# Summary of the top N search results specified by the summary spec.
|
|
10618
10619
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummary
|
|
10619
10620
|
include Google::Apis::Core::Hashable
|
|
10620
10621
|
|
|
@@ -11154,7 +11155,8 @@ module Google
|
|
|
11154
11155
|
class GoogleCloudDiscoveryengineV1betaSessionTurn
|
|
11155
11156
|
include Google::Apis::Core::Hashable
|
|
11156
11157
|
|
|
11157
|
-
# The resource name of the answer to the user query.
|
|
11158
|
+
# The resource name of the answer to the user query. Only set if the answer
|
|
11159
|
+
# generation (/answer API call) happened in this turn.
|
|
11158
11160
|
# Corresponds to the JSON property `answer`
|
|
11159
11161
|
# @return [String]
|
|
11160
11162
|
attr_accessor :answer
|
|
@@ -11769,7 +11771,7 @@ module Google
|
|
|
11769
11771
|
end
|
|
11770
11772
|
|
|
11771
11773
|
# UserEvent captures all metadata information Discovery Engine API needs to know
|
|
11772
|
-
# about how end users interact with
|
|
11774
|
+
# about how end users interact with your website.
|
|
11773
11775
|
class GoogleCloudDiscoveryengineV1betaUserEvent
|
|
11774
11776
|
include Google::Apis::Core::Hashable
|
|
11775
11777
|
|
|
@@ -11908,7 +11910,7 @@ module Google
|
|
|
11908
11910
|
|
|
11909
11911
|
# A list of identifiers for the independent experiment groups this user event
|
|
11910
11912
|
# belongs to. This is used to distinguish between user events associated with
|
|
11911
|
-
# different experiment setups
|
|
11913
|
+
# different experiment setups.
|
|
11912
11914
|
# Corresponds to the JSON property `tagIds`
|
|
11913
11915
|
# @return [Array<String>]
|
|
11914
11916
|
attr_accessor :tag_ids
|
|
@@ -11998,6 +12000,19 @@ module Google
|
|
|
11998
12000
|
end
|
|
11999
12001
|
end
|
|
12000
12002
|
|
|
12003
|
+
# The request message for Operations.CancelOperation.
|
|
12004
|
+
class GoogleLongrunningCancelOperationRequest
|
|
12005
|
+
include Google::Apis::Core::Hashable
|
|
12006
|
+
|
|
12007
|
+
def initialize(**args)
|
|
12008
|
+
update!(**args)
|
|
12009
|
+
end
|
|
12010
|
+
|
|
12011
|
+
# Update properties of this object
|
|
12012
|
+
def update!(**args)
|
|
12013
|
+
end
|
|
12014
|
+
end
|
|
12015
|
+
|
|
12001
12016
|
# The response message for Operations.ListOperations.
|
|
12002
12017
|
class GoogleLongrunningListOperationsResponse
|
|
12003
12018
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1beta
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.45.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
|
|
|
@@ -5452,6 +5458,12 @@ module Google
|
|
|
5452
5458
|
end
|
|
5453
5459
|
end
|
|
5454
5460
|
|
|
5461
|
+
class GoogleLongrunningCancelOperationRequest
|
|
5462
|
+
# @private
|
|
5463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5464
|
+
end
|
|
5465
|
+
end
|
|
5466
|
+
|
|
5455
5467
|
class GoogleLongrunningListOperationsResponse
|
|
5456
5468
|
# @private
|
|
5457
5469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -465,14 +465,14 @@ module Google
|
|
|
465
465
|
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
|
|
466
466
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
|
467
467
|
# @param [String] document_id
|
|
468
|
-
# Required. The ID to use for the Document, which
|
|
469
|
-
#
|
|
470
|
-
#
|
|
471
|
-
#
|
|
472
|
-
#
|
|
473
|
-
#
|
|
474
|
-
#
|
|
475
|
-
#
|
|
468
|
+
# Required. The ID to use for the Document, which becomes the final component of
|
|
469
|
+
# the Document.name. If the caller does not have permission to create the
|
|
470
|
+
# Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error
|
|
471
|
+
# is returned. This field must be unique among all Documents with the same
|
|
472
|
+
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
|
473
|
+
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
|
474
|
+
# length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
475
|
+
# returned.
|
|
476
476
|
# @param [String] fields
|
|
477
477
|
# Selector specifying which fields to include in a partial response.
|
|
478
478
|
# @param [String] quota_user
|
|
@@ -574,8 +574,8 @@ module Google
|
|
|
574
574
|
end
|
|
575
575
|
|
|
576
576
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
|
577
|
-
# existing items
|
|
578
|
-
#
|
|
577
|
+
# existing items are created. Note: It is possible for a subset of the Documents
|
|
578
|
+
# to be successfully updated.
|
|
579
579
|
# @param [String] parent
|
|
580
580
|
# Required. The parent branch resource name, such as `projects/`project`/
|
|
581
581
|
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
|
@@ -620,8 +620,8 @@ module Google
|
|
|
620
620
|
# PERMISSION_DENIED` error is returned.
|
|
621
621
|
# @param [Fixnum] page_size
|
|
622
622
|
# Maximum number of Documents to return. If unspecified, defaults to 100. The
|
|
623
|
-
# maximum allowed value is 1000. Values above 1000
|
|
624
|
-
#
|
|
623
|
+
# maximum allowed value is 1000. Values above 1000 are set to 1000. If this
|
|
624
|
+
# field is negative, an `INVALID_ARGUMENT` error is returned.
|
|
625
625
|
# @param [String] page_token
|
|
626
626
|
# A page token ListDocumentsResponse.next_page_token, received from a previous
|
|
627
627
|
# DocumentService.ListDocuments call. Provide this to retrieve the subsequent
|
|
@@ -665,10 +665,10 @@ module Google
|
|
|
665
665
|
# with a length limit of 1024 characters.
|
|
666
666
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
|
667
667
|
# @param [Boolean] allow_missing
|
|
668
|
-
# If set to true
|
|
668
|
+
# If set to `true` and the Document is not found, a new Document is be created.
|
|
669
669
|
# @param [String] update_mask
|
|
670
670
|
# Indicates which fields in the provided imported 'document' to update. If not
|
|
671
|
-
# set,
|
|
671
|
+
# set, by default updates all fields.
|
|
672
672
|
# @param [String] fields
|
|
673
673
|
# Selector specifying which fields to include in a partial response.
|
|
674
674
|
# @param [String] quota_user
|
|
@@ -739,6 +739,46 @@ module Google
|
|
|
739
739
|
execute_or_queue_command(command, &block)
|
|
740
740
|
end
|
|
741
741
|
|
|
742
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
743
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
744
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
745
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
746
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
747
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
748
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
|
749
|
+
# corresponding to `Code.CANCELLED`.
|
|
750
|
+
# @param [String] name
|
|
751
|
+
# The name of the operation resource to be cancelled.
|
|
752
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
|
753
|
+
# @param [String] fields
|
|
754
|
+
# Selector specifying which fields to include in a partial response.
|
|
755
|
+
# @param [String] quota_user
|
|
756
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
757
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
758
|
+
# @param [Google::Apis::RequestOptions] options
|
|
759
|
+
# Request-specific options
|
|
760
|
+
#
|
|
761
|
+
# @yield [result, err] Result & error if block supplied
|
|
762
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
|
|
763
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
764
|
+
#
|
|
765
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
|
|
766
|
+
#
|
|
767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
770
|
+
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)
|
|
771
|
+
command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
|
|
772
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningCancelOperationRequest::Representation
|
|
773
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
|
774
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
|
|
775
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
|
|
776
|
+
command.params['name'] = name unless name.nil?
|
|
777
|
+
command.query['fields'] = fields unless fields.nil?
|
|
778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
779
|
+
execute_or_queue_command(command, &block)
|
|
780
|
+
end
|
|
781
|
+
|
|
742
782
|
# Gets the latest state of a long-running operation. Clients can use this method
|
|
743
783
|
# to poll the operation result at intervals as recommended by the API service.
|
|
744
784
|
# @param [String] name
|
|
@@ -1219,8 +1259,8 @@ module Google
|
|
|
1219
1259
|
# .
|
|
1220
1260
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema] google_cloud_discoveryengine_v1beta_schema_object
|
|
1221
1261
|
# @param [String] schema_id
|
|
1222
|
-
# Required. The ID to use for the Schema, which
|
|
1223
|
-
#
|
|
1262
|
+
# Required. The ID to use for the Schema, which becomes the final component of
|
|
1263
|
+
# the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.
|
|
1224
1264
|
# org/html/rfc1034) standard with a length limit of 63 characters.
|
|
1225
1265
|
# @param [String] fields
|
|
1226
1266
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1323,8 +1363,8 @@ module Google
|
|
|
1323
1363
|
# .
|
|
1324
1364
|
# @param [Fixnum] page_size
|
|
1325
1365
|
# The maximum number of Schemas to return. The service may return fewer than
|
|
1326
|
-
# this value. If unspecified, at most 100 Schemas
|
|
1327
|
-
# value is 1000; values above 1000
|
|
1366
|
+
# this value. If unspecified, at most 100 Schemas are returned. The maximum
|
|
1367
|
+
# value is 1000; values above 1000 are set to 1000.
|
|
1328
1368
|
# @param [String] page_token
|
|
1329
1369
|
# A page token, received from a previous SchemaService.ListSchemas call. Provide
|
|
1330
1370
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
|
@@ -1367,8 +1407,8 @@ module Google
|
|
|
1367
1407
|
# limit of 1024 characters.
|
|
1368
1408
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema] google_cloud_discoveryengine_v1beta_schema_object
|
|
1369
1409
|
# @param [Boolean] allow_missing
|
|
1370
|
-
# If set to true, and the Schema is not found, a new Schema
|
|
1371
|
-
#
|
|
1410
|
+
# If set to true, and the Schema is not found, a new Schema is created. In this
|
|
1411
|
+
# situation, `update_mask` is ignored.
|
|
1372
1412
|
# @param [String] fields
|
|
1373
1413
|
# Selector specifying which fields to include in a partial response.
|
|
1374
1414
|
# @param [String] quota_user
|
|
@@ -1626,11 +1666,11 @@ module Google
|
|
|
1626
1666
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
|
1627
1667
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
|
1628
1668
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
|
1629
|
-
# created along with your recommendation engine creation. The engine ID
|
|
1630
|
-
#
|
|
1631
|
-
#
|
|
1632
|
-
#
|
|
1633
|
-
#
|
|
1669
|
+
# created along with your recommendation engine creation. The engine ID is used
|
|
1670
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
|
1671
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
|
1672
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
|
1673
|
+
# your RecommendationService.Recommend requests.
|
|
1634
1674
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendRequest] google_cloud_discoveryengine_v1beta_recommend_request_object
|
|
1635
1675
|
# @param [String] fields
|
|
1636
1676
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2583,7 +2623,7 @@ module Google
|
|
|
2583
2623
|
execute_or_queue_command(command, &block)
|
|
2584
2624
|
end
|
|
2585
2625
|
|
|
2586
|
-
# Bulk import of
|
|
2626
|
+
# Bulk import of user events. Request processing might be synchronous. Events
|
|
2587
2627
|
# that already exist are skipped. Use this method for backfilling historical
|
|
2588
2628
|
# user events. Operation.response is of type ImportResponse. Note that it is
|
|
2589
2629
|
# possible for a subset of the items to be successfully inserted. Operation.
|
|
@@ -3407,11 +3447,11 @@ module Google
|
|
|
3407
3447
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
|
3408
3448
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
|
3409
3449
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
|
3410
|
-
# created along with your recommendation engine creation. The engine ID
|
|
3411
|
-
#
|
|
3412
|
-
#
|
|
3413
|
-
#
|
|
3414
|
-
#
|
|
3450
|
+
# created along with your recommendation engine creation. The engine ID is used
|
|
3451
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
|
3452
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
|
3453
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
|
3454
|
+
# your RecommendationService.Recommend requests.
|
|
3415
3455
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendRequest] google_cloud_discoveryengine_v1beta_recommend_request_object
|
|
3416
3456
|
# @param [String] fields
|
|
3417
3457
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4080,14 +4120,14 @@ module Google
|
|
|
4080
4120
|
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch``.
|
|
4081
4121
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
|
4082
4122
|
# @param [String] document_id
|
|
4083
|
-
# Required. The ID to use for the Document, which
|
|
4084
|
-
#
|
|
4085
|
-
#
|
|
4086
|
-
#
|
|
4087
|
-
#
|
|
4088
|
-
#
|
|
4089
|
-
#
|
|
4090
|
-
#
|
|
4123
|
+
# Required. The ID to use for the Document, which becomes the final component of
|
|
4124
|
+
# the Document.name. If the caller does not have permission to create the
|
|
4125
|
+
# Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error
|
|
4126
|
+
# is returned. This field must be unique among all Documents with the same
|
|
4127
|
+
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
|
4128
|
+
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
|
4129
|
+
# length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
4130
|
+
# returned.
|
|
4091
4131
|
# @param [String] fields
|
|
4092
4132
|
# Selector specifying which fields to include in a partial response.
|
|
4093
4133
|
# @param [String] quota_user
|
|
@@ -4189,8 +4229,8 @@ module Google
|
|
|
4189
4229
|
end
|
|
4190
4230
|
|
|
4191
4231
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
|
4192
|
-
# existing items
|
|
4193
|
-
#
|
|
4232
|
+
# existing items are created. Note: It is possible for a subset of the Documents
|
|
4233
|
+
# to be successfully updated.
|
|
4194
4234
|
# @param [String] parent
|
|
4195
4235
|
# Required. The parent branch resource name, such as `projects/`project`/
|
|
4196
4236
|
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
|
@@ -4235,8 +4275,8 @@ module Google
|
|
|
4235
4275
|
# PERMISSION_DENIED` error is returned.
|
|
4236
4276
|
# @param [Fixnum] page_size
|
|
4237
4277
|
# Maximum number of Documents to return. If unspecified, defaults to 100. The
|
|
4238
|
-
# maximum allowed value is 1000. Values above 1000
|
|
4239
|
-
#
|
|
4278
|
+
# maximum allowed value is 1000. Values above 1000 are set to 1000. If this
|
|
4279
|
+
# field is negative, an `INVALID_ARGUMENT` error is returned.
|
|
4240
4280
|
# @param [String] page_token
|
|
4241
4281
|
# A page token ListDocumentsResponse.next_page_token, received from a previous
|
|
4242
4282
|
# DocumentService.ListDocuments call. Provide this to retrieve the subsequent
|
|
@@ -4280,10 +4320,10 @@ module Google
|
|
|
4280
4320
|
# with a length limit of 1024 characters.
|
|
4281
4321
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
|
4282
4322
|
# @param [Boolean] allow_missing
|
|
4283
|
-
# If set to true
|
|
4323
|
+
# If set to `true` and the Document is not found, a new Document is be created.
|
|
4284
4324
|
# @param [String] update_mask
|
|
4285
4325
|
# Indicates which fields in the provided imported 'document' to update. If not
|
|
4286
|
-
# set,
|
|
4326
|
+
# set, by default updates all fields.
|
|
4287
4327
|
# @param [String] fields
|
|
4288
4328
|
# Selector specifying which fields to include in a partial response.
|
|
4289
4329
|
# @param [String] quota_user
|
|
@@ -4354,6 +4394,46 @@ module Google
|
|
|
4354
4394
|
execute_or_queue_command(command, &block)
|
|
4355
4395
|
end
|
|
4356
4396
|
|
|
4397
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
4398
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
4399
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
4400
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
4401
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
4402
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
4403
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
|
4404
|
+
# corresponding to `Code.CANCELLED`.
|
|
4405
|
+
# @param [String] name
|
|
4406
|
+
# The name of the operation resource to be cancelled.
|
|
4407
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
|
4408
|
+
# @param [String] fields
|
|
4409
|
+
# Selector specifying which fields to include in a partial response.
|
|
4410
|
+
# @param [String] quota_user
|
|
4411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4413
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4414
|
+
# Request-specific options
|
|
4415
|
+
#
|
|
4416
|
+
# @yield [result, err] Result & error if block supplied
|
|
4417
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
|
|
4418
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4419
|
+
#
|
|
4420
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
|
|
4421
|
+
#
|
|
4422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4425
|
+
def cancel_project_location_data_store_branch_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4426
|
+
command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
|
|
4427
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningCancelOperationRequest::Representation
|
|
4428
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
|
4429
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
|
|
4430
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
|
|
4431
|
+
command.params['name'] = name unless name.nil?
|
|
4432
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4433
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4434
|
+
execute_or_queue_command(command, &block)
|
|
4435
|
+
end
|
|
4436
|
+
|
|
4357
4437
|
# Gets the latest state of a long-running operation. Clients can use this method
|
|
4358
4438
|
# to poll the operation result at intervals as recommended by the API service.
|
|
4359
4439
|
# @param [String] name
|
|
@@ -4802,8 +4882,8 @@ module Google
|
|
|
4802
4882
|
# .
|
|
4803
4883
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema] google_cloud_discoveryengine_v1beta_schema_object
|
|
4804
4884
|
# @param [String] schema_id
|
|
4805
|
-
# Required. The ID to use for the Schema, which
|
|
4806
|
-
#
|
|
4885
|
+
# Required. The ID to use for the Schema, which becomes the final component of
|
|
4886
|
+
# the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.
|
|
4807
4887
|
# org/html/rfc1034) standard with a length limit of 63 characters.
|
|
4808
4888
|
# @param [String] fields
|
|
4809
4889
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4906,8 +4986,8 @@ module Google
|
|
|
4906
4986
|
# .
|
|
4907
4987
|
# @param [Fixnum] page_size
|
|
4908
4988
|
# The maximum number of Schemas to return. The service may return fewer than
|
|
4909
|
-
# this value. If unspecified, at most 100 Schemas
|
|
4910
|
-
# value is 1000; values above 1000
|
|
4989
|
+
# this value. If unspecified, at most 100 Schemas are returned. The maximum
|
|
4990
|
+
# value is 1000; values above 1000 are set to 1000.
|
|
4911
4991
|
# @param [String] page_token
|
|
4912
4992
|
# A page token, received from a previous SchemaService.ListSchemas call. Provide
|
|
4913
4993
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
|
@@ -4950,8 +5030,8 @@ module Google
|
|
|
4950
5030
|
# limit of 1024 characters.
|
|
4951
5031
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema] google_cloud_discoveryengine_v1beta_schema_object
|
|
4952
5032
|
# @param [Boolean] allow_missing
|
|
4953
|
-
# If set to true, and the Schema is not found, a new Schema
|
|
4954
|
-
#
|
|
5033
|
+
# If set to true, and the Schema is not found, a new Schema is created. In this
|
|
5034
|
+
# situation, `update_mask` is ignored.
|
|
4955
5035
|
# @param [String] fields
|
|
4956
5036
|
# Selector specifying which fields to include in a partial response.
|
|
4957
5037
|
# @param [String] quota_user
|
|
@@ -5138,11 +5218,11 @@ module Google
|
|
|
5138
5218
|
# Required. Full resource name of a ServingConfig: `projects/*/locations/global/
|
|
5139
5219
|
# collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/
|
|
5140
5220
|
# collections/*/dataStores/*/servingConfigs/*` One default serving config is
|
|
5141
|
-
# created along with your recommendation engine creation. The engine ID
|
|
5142
|
-
#
|
|
5143
|
-
#
|
|
5144
|
-
#
|
|
5145
|
-
#
|
|
5221
|
+
# created along with your recommendation engine creation. The engine ID is used
|
|
5222
|
+
# as the ID of the default serving config. For example, for Engine `projects/*/
|
|
5223
|
+
# locations/global/collections/*/engines/my-engine`, you can use `projects/*/
|
|
5224
|
+
# locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for
|
|
5225
|
+
# your RecommendationService.Recommend requests.
|
|
5146
5226
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendRequest] google_cloud_discoveryengine_v1beta_recommend_request_object
|
|
5147
5227
|
# @param [String] fields
|
|
5148
5228
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5872,7 +5952,7 @@ module Google
|
|
|
5872
5952
|
execute_or_queue_command(command, &block)
|
|
5873
5953
|
end
|
|
5874
5954
|
|
|
5875
|
-
# Bulk import of
|
|
5955
|
+
# Bulk import of user events. Request processing might be synchronous. Events
|
|
5876
5956
|
# that already exist are skipped. Use this method for backfilling historical
|
|
5877
5957
|
# user events. Operation.response is of type ImportResponse. Note that it is
|
|
5878
5958
|
# 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_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.45.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_v1beta/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.45.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|