google-apis-retail_v2 0.115.0 → 0.116.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/OVERVIEW.md +1 -1
- data/lib/google/apis/retail_v2/classes.rb +7 -19
- data/lib/google/apis/retail_v2/gem_version.rb +3 -3
- data/lib/google/apis/retail_v2/representations.rb +1 -1
- 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: 2b58c649b3457527ddf1fb6baf1e1b2a71738cc861f23b8b4dbd1332ef7c6a01
|
4
|
+
data.tar.gz: f21325e508547ae256ff96f2064d5a6b1cb950eb7fed4b8ae0dd8d447b1e9e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a88c35ca22fe5aee466559809b7f33484a15fe6b4fbbe8a96fab4864093d045320745d9ae70b874a90ea544cf993a4238f7c8335ea72999137c0c579bb608b70
|
7
|
+
data.tar.gz: ec2648899088369bfb72495e732e85ce98e233d24677a7a77e6b3d556f392f8002a3bdccc0990eb1211f393606349d26fe1191f2ffb92613c56a142c325ab793
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.116.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250508
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.115.0 (2025-04-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250417
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/recommendations) may provid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -2533,23 +2533,6 @@ module Google
|
|
2533
2533
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
2534
2534
|
attr_accessor :attributes
|
2535
2535
|
|
2536
|
-
# Optional. The availability of the Product at this place_id. Default to
|
2537
|
-
# Availability.IN_STOCK. For primary products with variants set the availability
|
2538
|
-
# of the primary as Availability.OUT_OF_STOCK and set the true availability at
|
2539
|
-
# the variant level. This way the primary product will be considered "in stock"
|
2540
|
-
# as long as it has at least one variant in stock. For primary products with no
|
2541
|
-
# variants set the true availability at the primary level. Corresponding
|
2542
|
-
# properties: Google Merchant Center property [availability](https://support.
|
2543
|
-
# google.com/merchants/answer/6324448). Schema.org property [Offer.availability](
|
2544
|
-
# https://schema.org/availability). This field is currently only used by the
|
2545
|
-
# Recommendations API. For Search, please make use of fulfillment_types or
|
2546
|
-
# custom attributes for similar behaviour. See [here]( https://cloud.google.com/
|
2547
|
-
# retail/docs/local-inventory-updates#local-inventory-update-methods) for more
|
2548
|
-
# details.
|
2549
|
-
# Corresponds to the JSON property `availability`
|
2550
|
-
# @return [String]
|
2551
|
-
attr_accessor :availability
|
2552
|
-
|
2553
2536
|
# Optional. Supported fulfillment types. Valid fulfillment type values include
|
2554
2537
|
# commonly used types (such as pickup in store and same day delivery), and
|
2555
2538
|
# custom types. Customers have to map custom types to their display names before
|
@@ -2579,7 +2562,6 @@ module Google
|
|
2579
2562
|
# Update properties of this object
|
2580
2563
|
def update!(**args)
|
2581
2564
|
@attributes = args[:attributes] if args.key?(:attributes)
|
2582
|
-
@availability = args[:availability] if args.key?(:availability)
|
2583
2565
|
@fulfillment_types = args[:fulfillment_types] if args.key?(:fulfillment_types)
|
2584
2566
|
@place_id = args[:place_id] if args.key?(:place_id)
|
2585
2567
|
@price_info = args[:price_info] if args.key?(:price_info)
|
@@ -7412,7 +7394,12 @@ module Google
|
|
7412
7394
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
7413
7395
|
include Google::Apis::Core::Hashable
|
7414
7396
|
|
7415
|
-
#
|
7397
|
+
# AFM data source ID.
|
7398
|
+
# Corresponds to the JSON property `dataSourceId`
|
7399
|
+
# @return [Fixnum]
|
7400
|
+
attr_accessor :data_source_id
|
7401
|
+
|
7402
|
+
# Merchant Center primary feed ID. Deprecated: use data_source_id instead.
|
7416
7403
|
# Corresponds to the JSON property `primaryFeedId`
|
7417
7404
|
# @return [Fixnum]
|
7418
7405
|
attr_accessor :primary_feed_id
|
@@ -7429,6 +7416,7 @@ module Google
|
|
7429
7416
|
|
7430
7417
|
# Update properties of this object
|
7431
7418
|
def update!(**args)
|
7419
|
+
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
7432
7420
|
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
7433
7421
|
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
7434
7422
|
end
|
@@ -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.116.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250508"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2225,7 +2225,6 @@ module Google
|
|
2225
2225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2226
2226
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
|
2227
2227
|
|
2228
|
-
property :availability, as: 'availability'
|
2229
2228
|
collection :fulfillment_types, as: 'fulfillmentTypes'
|
2230
2229
|
property :place_id, as: 'placeId'
|
2231
2230
|
property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo::Representation
|
@@ -3407,6 +3406,7 @@ module Google
|
|
3407
3406
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
3408
3407
|
# @private
|
3409
3408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3409
|
+
property :data_source_id, :numeric_string => true, as: 'dataSourceId'
|
3410
3410
|
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
3411
3411
|
property :primary_feed_name, as: 'primaryFeedName'
|
3412
3412
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.116.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.116.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Vertex AI Search for commerce API V2
|
79
79
|
test_files: []
|