google-apis-retail_v2 0.105.0 → 0.106.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: cfcad764df0053152b60928717076cb104a1b8a00a91e9a5a9d04a95882b9d97
4
- data.tar.gz: dbd755005c9c634c96345c4ad30f620b98083cd618c85b4eb31035b2bc0639ca
3
+ metadata.gz: bf0a4e16920e93322c8fc4f9b70dd31188f887482ba65a9f08fcb0c6278665e0
4
+ data.tar.gz: e6feffc94ad2da927cb4c6e1872c2839ec6a4132cb267be3f3518622967a32ac
5
5
  SHA512:
6
- metadata.gz: 2197164ecb8f51972029bab2550503cbcc72d0bb08d44db95407f216f283d829b431a439f38e584328da046c6100e78e709c05700c623d2243fe24ec0a742554
7
- data.tar.gz: 07c301879e5369152e6fe21cf29e9f830ec8476255ae646c8655f8be0e8096302bdf6c694b1cdfae33f2b2fdc18d36d73da63986a03e025e4f834032d97b064a
6
+ metadata.gz: 3301fa6d84ee7635be9d846f72393fd97de2df27f5d031eb02778a3757acbb548d86b354f776a65d96ee5185da6bcb22add1e70fe600633b01a0b77b1cc0a98f
7
+ data.tar.gz: e9f0f3a4d00ada35399ae233c44c363a33c5913979863c3ff30048d5f320bc7703b07c903d1fedf765594e042527bcaf424275f398c34ae183065de62cf973cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.106.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241114
6
+
3
7
  ### v0.105.0 (2024-11-03)
4
8
 
5
9
  * 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, CatalogService.ImportCatalogAttributes, or
764
- # CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
765
- # loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither
766
- # in use by products nor predefined can be deleted. Catalog attributes that are
767
- # either in use by products or are predefined attributes cannot be deleted;
768
- # however, their configuration properties will reset to default values upon
769
- # removal request. After catalog changes, it takes about 10 minutes for this
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 Experiment.
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]
@@ -2465,8 +2464,8 @@ module Google
2465
2464
  class GoogleCloudRetailV2LocalInventory
2466
2465
  include Google::Apis::Core::Hashable
2467
2466
 
2468
- # Additional local inventory attributes, for example, store name, promotion tags,
2469
- # etc. This field needs to pass all below criteria, otherwise an
2467
+ # Optional. Additional local inventory attributes, for example, store name,
2468
+ # promotion tags, etc. This field needs to pass all below criteria, otherwise an
2470
2469
  # INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The
2471
2470
  # key must be a UTF-8 encoded string with a length limit of 32 characters. * The
2472
2471
  # key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
@@ -2479,7 +2478,20 @@ module Google
2479
2478
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
2480
2479
  attr_accessor :attributes
2481
2480
 
2482
- # Input only. Supported fulfillment types. Valid fulfillment type values include
2481
+ # Optional. The availability of the Product at this place_id. Default to
2482
+ # Availability.IN_STOCK. For primary products with variants set the availability
2483
+ # of the primary as Availability.OUT_OF_STOCK and set the true availability at
2484
+ # the variant level. This way the primary product will be considered "in stock"
2485
+ # as long as it has at least one variant in stock. For primary products with no
2486
+ # variants set the true availability at the primary level. Corresponding
2487
+ # properties: Google Merchant Center property [availability](https://support.
2488
+ # google.com/merchants/answer/6324448). Schema.org property [Offer.availability](
2489
+ # https://schema.org/availability).
2490
+ # Corresponds to the JSON property `availability`
2491
+ # @return [String]
2492
+ attr_accessor :availability
2493
+
2494
+ # Optional. Supported fulfillment types. Valid fulfillment type values include
2483
2495
  # commonly used types (such as pickup in store and same day delivery), and
2484
2496
  # custom types. Customers have to map custom types to their display names before
2485
2497
  # rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-
@@ -2491,7 +2503,7 @@ module Google
2491
2503
  # @return [Array<String>]
2492
2504
  attr_accessor :fulfillment_types
2493
2505
 
2494
- # The place ID for the current set of inventory information.
2506
+ # Required. The place ID for the current set of inventory information.
2495
2507
  # Corresponds to the JSON property `placeId`
2496
2508
  # @return [String]
2497
2509
  attr_accessor :place_id
@@ -2508,6 +2520,7 @@ module Google
2508
2520
  # Update properties of this object
2509
2521
  def update!(**args)
2510
2522
  @attributes = args[:attributes] if args.key?(:attributes)
2523
+ @availability = args[:availability] if args.key?(:availability)
2511
2524
  @fulfillment_types = args[:fulfillment_types] if args.key?(:fulfillment_types)
2512
2525
  @place_id = args[:place_id] if args.key?(:place_id)
2513
2526
  @price_info = args[:price_info] if args.key?(:price_info)
@@ -5491,7 +5504,7 @@ module Google
5491
5504
  # @return [String]
5492
5505
  attr_accessor :corrected_query
5493
5506
 
5494
- # Metadata related to A/B testing Experiment associated with this response. Only
5507
+ # Metadata related to A/B testing experiment associated with this response. Only
5495
5508
  # exists when an experiment is triggered.
5496
5509
  # Corresponds to the JSON property `experimentInfo`
5497
5510
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfo>]
@@ -6630,12 +6643,11 @@ module Google
6630
6643
  # @return [String]
6631
6644
  attr_accessor :ip_address
6632
6645
 
6633
- # User agent as included in the HTTP header. Required for getting SearchResponse.
6634
- # sponsored_results. The field must be a UTF-8 encoded string with a length
6635
- # limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
6636
- # This should not be set when using the client side event reporting with GTM or
6637
- # JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
6638
- # is set.
6646
+ # User agent as included in the HTTP header. The field must be a UTF-8 encoded
6647
+ # string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT
6648
+ # error is returned. This should not be set when using the client side event
6649
+ # reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or
6650
+ # if direct_user_request is set.
6639
6651
  # Corresponds to the JSON property `userAgent`
6640
6652
  # @return [String]
6641
6653
  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.105.0"
19
+ GEM_VERSION = "0.106.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 = "20241024"
25
+ REVISION = "20241114"
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.105.0
4
+ version: 0.106.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-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.105.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.106.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.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Vertex AI Search for Retail API V2