google-apis-retail_v2 0.105.0 → 0.107.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: abcd2c186e9dd9efa05359c9af301e1f81c73cfef8fb257a571d4c5326663e54
|
4
|
+
data.tar.gz: 5aae938443e35f4dc6ddf40dca5b071f54e234e4e76c5987d57665dc4948c9c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1e27096534330d3caf00e316f9d39e67fac8a61ef9a122ecf844671dde626df6b762f775ca3f13693d46a9f785fbb07e371166e472b5fafc59dfd832ddc24d
|
7
|
+
data.tar.gz: e6773b1a1f3d30bdcfbfa3b64bbb37eda36c285a0c9d844bd371dd81c60993d5c9fb564f3c6b65055682b452bbd5d05c673576b5220461d818d470c08af0a813
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.107.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241205
|
6
|
+
|
7
|
+
### v0.106.0 (2024-11-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241114
|
10
|
+
|
3
11
|
### v0.105.0 (2024-11-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241024
|
@@ -760,14 +760,13 @@ module Google
|
|
760
760
|
# Output only. Indicates whether this attribute has been used by any products. `
|
761
761
|
# True` if at least one Product is using this attribute in Product.attributes.
|
762
762
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
763
|
-
# CatalogService.AddCatalogAttribute
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# field to update.
|
763
|
+
# CatalogService.AddCatalogAttribute or CatalogService.UpdateAttributesConfig
|
764
|
+
# APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded
|
765
|
+
# catalog attributes that are neither in use by products nor predefined can be
|
766
|
+
# deleted. Catalog attributes that are either in use by products or are
|
767
|
+
# predefined attributes cannot be deleted; however, their configuration
|
768
|
+
# properties will reset to default values upon removal request. After catalog
|
769
|
+
# changes, it takes about 10 minutes for this field to update.
|
771
770
|
# Corresponds to the JSON property `inUse`
|
772
771
|
# @return [Boolean]
|
773
772
|
attr_accessor :in_use
|
@@ -1577,7 +1576,7 @@ module Google
|
|
1577
1576
|
end
|
1578
1577
|
end
|
1579
1578
|
|
1580
|
-
# Metadata for active A/B testing
|
1579
|
+
# Metadata for active A/B testing experiment.
|
1581
1580
|
class GoogleCloudRetailV2ExperimentInfo
|
1582
1581
|
include Google::Apis::Core::Hashable
|
1583
1582
|
|
@@ -1608,8 +1607,8 @@ module Google
|
|
1608
1607
|
class GoogleCloudRetailV2ExperimentInfoServingConfigExperiment
|
1609
1608
|
include Google::Apis::Core::Hashable
|
1610
1609
|
|
1611
|
-
# The fully qualified resource name of the serving config Experiment.VariantArm.
|
1612
|
-
# serving_config_id responsible for generating the search response. For example:
|
1610
|
+
# The fully qualified resource name of the serving config `Experiment.VariantArm.
|
1611
|
+
# serving_config_id` responsible for generating the search response. For example:
|
1613
1612
|
# `projects/*/locations/*/catalogs/*/servingConfigs/*`.
|
1614
1613
|
# Corresponds to the JSON property `experimentServingConfig`
|
1615
1614
|
# @return [String]
|
@@ -1968,10 +1967,11 @@ module Google
|
|
1968
1967
|
end
|
1969
1968
|
end
|
1970
1969
|
|
1971
|
-
# Product image. Recommendations AI and Retail Search
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
#
|
1970
|
+
# Product image. Recommendations AI and Retail Search use product images to
|
1971
|
+
# improve prediction and search results. Product images can be returned in
|
1972
|
+
# results, and are shown in prediction or search previews in the console. Please
|
1973
|
+
# try to provide correct product images and avoid using images with size too
|
1974
|
+
# small.
|
1975
1975
|
class GoogleCloudRetailV2Image
|
1976
1976
|
include Google::Apis::Core::Hashable
|
1977
1977
|
|
@@ -2465,8 +2465,8 @@ module Google
|
|
2465
2465
|
class GoogleCloudRetailV2LocalInventory
|
2466
2466
|
include Google::Apis::Core::Hashable
|
2467
2467
|
|
2468
|
-
# Additional local inventory attributes, for example, store name,
|
2469
|
-
# etc. This field needs to pass all below criteria, otherwise an
|
2468
|
+
# Optional. Additional local inventory attributes, for example, store name,
|
2469
|
+
# promotion tags, etc. This field needs to pass all below criteria, otherwise an
|
2470
2470
|
# INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The
|
2471
2471
|
# key must be a UTF-8 encoded string with a length limit of 32 characters. * The
|
2472
2472
|
# key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
|
@@ -2479,7 +2479,20 @@ module Google
|
|
2479
2479
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
2480
2480
|
attr_accessor :attributes
|
2481
2481
|
|
2482
|
-
#
|
2482
|
+
# Optional. The availability of the Product at this place_id. Default to
|
2483
|
+
# Availability.IN_STOCK. For primary products with variants set the availability
|
2484
|
+
# of the primary as Availability.OUT_OF_STOCK and set the true availability at
|
2485
|
+
# the variant level. This way the primary product will be considered "in stock"
|
2486
|
+
# as long as it has at least one variant in stock. For primary products with no
|
2487
|
+
# variants set the true availability at the primary level. Corresponding
|
2488
|
+
# properties: Google Merchant Center property [availability](https://support.
|
2489
|
+
# google.com/merchants/answer/6324448). Schema.org property [Offer.availability](
|
2490
|
+
# https://schema.org/availability).
|
2491
|
+
# Corresponds to the JSON property `availability`
|
2492
|
+
# @return [String]
|
2493
|
+
attr_accessor :availability
|
2494
|
+
|
2495
|
+
# Optional. Supported fulfillment types. Valid fulfillment type values include
|
2483
2496
|
# commonly used types (such as pickup in store and same day delivery), and
|
2484
2497
|
# custom types. Customers have to map custom types to their display names before
|
2485
2498
|
# rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-
|
@@ -2491,7 +2504,7 @@ module Google
|
|
2491
2504
|
# @return [Array<String>]
|
2492
2505
|
attr_accessor :fulfillment_types
|
2493
2506
|
|
2494
|
-
# The place ID for the current set of inventory information.
|
2507
|
+
# Required. The place ID for the current set of inventory information.
|
2495
2508
|
# Corresponds to the JSON property `placeId`
|
2496
2509
|
# @return [String]
|
2497
2510
|
attr_accessor :place_id
|
@@ -2508,6 +2521,7 @@ module Google
|
|
2508
2521
|
# Update properties of this object
|
2509
2522
|
def update!(**args)
|
2510
2523
|
@attributes = args[:attributes] if args.key?(:attributes)
|
2524
|
+
@availability = args[:availability] if args.key?(:availability)
|
2511
2525
|
@fulfillment_types = args[:fulfillment_types] if args.key?(:fulfillment_types)
|
2512
2526
|
@place_id = args[:place_id] if args.key?(:place_id)
|
2513
2527
|
@price_info = args[:price_info] if args.key?(:price_info)
|
@@ -5491,7 +5505,7 @@ module Google
|
|
5491
5505
|
# @return [String]
|
5492
5506
|
attr_accessor :corrected_query
|
5493
5507
|
|
5494
|
-
# Metadata related to A/B testing
|
5508
|
+
# Metadata related to A/B testing experiment associated with this response. Only
|
5495
5509
|
# exists when an experiment is triggered.
|
5496
5510
|
# Corresponds to the JSON property `experimentInfo`
|
5497
5511
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfo>]
|
@@ -6630,12 +6644,11 @@ module Google
|
|
6630
6644
|
# @return [String]
|
6631
6645
|
attr_accessor :ip_address
|
6632
6646
|
|
6633
|
-
# User agent as included in the HTTP header.
|
6634
|
-
#
|
6635
|
-
#
|
6636
|
-
#
|
6637
|
-
#
|
6638
|
-
# is set.
|
6647
|
+
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
6648
|
+
# string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT
|
6649
|
+
# error is returned. This should not be set when using the client side event
|
6650
|
+
# reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or
|
6651
|
+
# if direct_user_request is set.
|
6639
6652
|
# Corresponds to the JSON property `userAgent`
|
6640
6653
|
# @return [String]
|
6641
6654
|
attr_accessor :user_agent
|
@@ -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.107.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2202,6 +2202,7 @@ module Google
|
|
2202
2202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2203
2203
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
|
2204
2204
|
|
2205
|
+
property :availability, as: 'availability'
|
2205
2206
|
collection :fulfillment_types, as: 'fulfillmentTypes'
|
2206
2207
|
property :place_id, as: 'placeId'
|
2207
2208
|
property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo::Representation
|
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.107.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-
|
11
|
+
date: 2024-12-15 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.107.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI Search for Retail API V2
|