google-apis-retail_v2 0.67.0 → 0.68.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c45882b8bad29e354ce8b668a9738ca233277e54518996005938ce338f001b9
|
4
|
+
data.tar.gz: e058eaf18c8f3ad0d0c86a0c1ecf4b29f927e611b3467947387b8d0c45d335bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d827811f81c3e322ea8909a82b1c24d7774ee9fc1521d8ecfb97fe3c41660dd5c2302fbc09b7a2bdc557cf4d8b6bf00ce40b9814319262a861a68dc12e08aa0d
|
7
|
+
data.tar.gz: 99723b9ae756a7a9a632823dd9c0644c5b5a44b0eac471a6c8c836722a1ee1ec3023dfdb381ace31dbab706d526b4e4c77ac94c92f87b145a497c54caab7c24e
|
data/CHANGELOG.md
CHANGED
@@ -4108,9 +4108,13 @@ module Google
|
|
4108
4108
|
# @return [Array<String>]
|
4109
4109
|
attr_accessor :contains
|
4110
4110
|
|
4111
|
-
#
|
4112
|
-
#
|
4113
|
-
#
|
4111
|
+
# For all numerical facet keys that appear in the list of products from the
|
4112
|
+
# catalog, the percentiles 0, 10, 30, 50, 70, 90 and 100 are computed from their
|
4113
|
+
# distribution weekly. If the model assigns a high score to a numerical facet
|
4114
|
+
# key and its intervals are not specified in the search request, these
|
4115
|
+
# percentiles will become the bounds for its intervals and will be returned in
|
4116
|
+
# the response. If the facet key intervals are specified in the request, then
|
4117
|
+
# the specified intervals will be returned instead.
|
4114
4118
|
# Corresponds to the JSON property `intervals`
|
4115
4119
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Interval>]
|
4116
4120
|
attr_accessor :intervals
|
@@ -4941,6 +4945,13 @@ module Google
|
|
4941
4945
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail]
|
4942
4946
|
attr_accessor :completion_detail
|
4943
4947
|
|
4948
|
+
# Represents the domain of the user event, for projects that combine domains.
|
4949
|
+
# For example: retailer can have events from multiple domains like retailer-main,
|
4950
|
+
# retailer-baby, retailer-meds, etc. under one project.
|
4951
|
+
# Corresponds to the JSON property `domain`
|
4952
|
+
# @return [String]
|
4953
|
+
attr_accessor :domain
|
4954
|
+
|
4944
4955
|
# Only required for UserEventService.ImportUserEvents method. Timestamp of when
|
4945
4956
|
# the user event happened.
|
4946
4957
|
# Corresponds to the JSON property `eventTime`
|
@@ -5096,6 +5107,7 @@ module Google
|
|
5096
5107
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
5097
5108
|
@cart_id = args[:cart_id] if args.key?(:cart_id)
|
5098
5109
|
@completion_detail = args[:completion_detail] if args.key?(:completion_detail)
|
5110
|
+
@domain = args[:domain] if args.key?(:domain)
|
5099
5111
|
@event_time = args[:event_time] if args.key?(:event_time)
|
5100
5112
|
@event_type = args[:event_type] if args.key?(:event_type)
|
5101
5113
|
@experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2
|
18
18
|
# Version of the google-apis-retail_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.68.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230309"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2379,6 +2379,7 @@ module Google
|
|
2379
2379
|
property :cart_id, as: 'cartId'
|
2380
2380
|
property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail::Representation
|
2381
2381
|
|
2382
|
+
property :domain, as: 'domain'
|
2382
2383
|
property :event_time, as: 'eventTime'
|
2383
2384
|
property :event_type, as: 'eventType'
|
2384
2385
|
collection :experiment_ids, as: 'experimentIds'
|
@@ -1384,6 +1384,37 @@ module Google
|
|
1384
1384
|
execute_or_queue_command(command, &block)
|
1385
1385
|
end
|
1386
1386
|
|
1387
|
+
# Gets a model.
|
1388
|
+
# @param [String] name
|
1389
|
+
# Required. The resource name of the Model to get. Format: `projects/`
|
1390
|
+
# project_number`/locations/`location_id`/catalogs/`catalog`/models/`model_id``
|
1391
|
+
# @param [String] fields
|
1392
|
+
# Selector specifying which fields to include in a partial response.
|
1393
|
+
# @param [String] quota_user
|
1394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1396
|
+
# @param [Google::Apis::RequestOptions] options
|
1397
|
+
# Request-specific options
|
1398
|
+
#
|
1399
|
+
# @yield [result, err] Result & error if block supplied
|
1400
|
+
# @yieldparam result [Google::Apis::RetailV2::GoogleCloudRetailV2Model] parsed result object
|
1401
|
+
# @yieldparam err [StandardError] error object if request failed
|
1402
|
+
#
|
1403
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2Model]
|
1404
|
+
#
|
1405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1408
|
+
def get_project_location_catalog_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
1409
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1410
|
+
command.response_representation = Google::Apis::RetailV2::GoogleCloudRetailV2Model::Representation
|
1411
|
+
command.response_class = Google::Apis::RetailV2::GoogleCloudRetailV2Model
|
1412
|
+
command.params['name'] = name unless name.nil?
|
1413
|
+
command.query['fields'] = fields unless fields.nil?
|
1414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1415
|
+
execute_or_queue_command(command, &block)
|
1416
|
+
end
|
1417
|
+
|
1387
1418
|
# Lists all the models linked to this event store.
|
1388
1419
|
# @param [String] parent
|
1389
1420
|
# Required. The parent for which to list models. Format: `projects/`
|
@@ -1600,13 +1631,7 @@ module Google
|
|
1600
1631
|
end
|
1601
1632
|
|
1602
1633
|
# Lists operations that match the specified filter in the request. If the server
|
1603
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1604
|
-
# binding allows API services to override the binding to use different resource
|
1605
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1606
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1607
|
-
# service configuration. For backwards compatibility, the default name includes
|
1608
|
-
# the operations collection id, however overriding users must ensure the name
|
1609
|
-
# binding is the parent resource, without the operations collection id.
|
1634
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1610
1635
|
# @param [String] name
|
1611
1636
|
# The name of the operation's parent resource.
|
1612
1637
|
# @param [String] filter
|
@@ -2315,13 +2340,7 @@ module Google
|
|
2315
2340
|
end
|
2316
2341
|
|
2317
2342
|
# Lists operations that match the specified filter in the request. If the server
|
2318
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2319
|
-
# binding allows API services to override the binding to use different resource
|
2320
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
2321
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2322
|
-
# service configuration. For backwards compatibility, the default name includes
|
2323
|
-
# the operations collection id, however overriding users must ensure the name
|
2324
|
-
# binding is the parent resource, without the operations collection id.
|
2343
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2325
2344
|
# @param [String] name
|
2326
2345
|
# The name of the operation's parent resource.
|
2327
2346
|
# @param [String] filter
|
@@ -2392,13 +2411,7 @@ module Google
|
|
2392
2411
|
end
|
2393
2412
|
|
2394
2413
|
# Lists operations that match the specified filter in the request. If the server
|
2395
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2396
|
-
# binding allows API services to override the binding to use different resource
|
2397
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
2398
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2399
|
-
# service configuration. For backwards compatibility, the default name includes
|
2400
|
-
# the operations collection id, however overriding users must ensure the name
|
2401
|
-
# binding is the parent resource, without the operations collection id.
|
2414
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2402
2415
|
# @param [String] name
|
2403
2416
|
# The name of the operation's parent resource.
|
2404
2417
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.68.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: 2023-03-
|
11
|
+
date: 2023-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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-retail_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.68.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|