google-apis-retail_v2 0.28.0 → 0.29.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: 300ffa2560aad86e0f5783721309655a1afe52ec37d50f45698a3d9fcbb0d023
4
- data.tar.gz: 5b77548ac25a18bcea4296878fbd720fb9a816c38f558f21448ccdbc0edda267
3
+ metadata.gz: 956cc4872d18a572f15cccb2c94cc45f16b755d1cffdcf10dfd3d6d735c1de57
4
+ data.tar.gz: a678cbf4bb92a4e838dca0bdba64260acc25a0bf4901337ec7e58e56f369dbba
5
5
  SHA512:
6
- metadata.gz: 3ca5f224b3560132f6c139cd1393242eba1ea0fa6196d895dbd264652ac2ecba593cee943a44606e535bb01c1a6a507638992e475b83efcbb357b84160a036a9
7
- data.tar.gz: 504198365b7dfdaeb4e31d104c75c0c04f2fbbe1374374c3c4af81a6c5fcce3049502028b375786f95eded5de0373b21f82d4285ded61fadd020fb88a190095a
6
+ metadata.gz: 7bd2c43947ac03f046311f0afa03958b2f4a3437ff1246b466a152e2b1add0e842dd003b6489fe06abf51013613eac0f1dd7e8912d68cbe72591531512c53471
7
+ data.tar.gz: ef8419859517ed96700ee7c29b6295351007b1c6e3d718ddacf31ec04d508c682e3dfbbe3b02e49d32191433fe0d42b9d869764f2acef0ca2986897ef8acc030
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.29.0 (2022-02-24)
4
+
5
+ * Regenerated from discovery document revision 20220217
6
+
3
7
  ### v0.28.0 (2022-02-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220210
@@ -719,8 +719,9 @@ module Google
719
719
  alias_method :searchable?, :searchable
720
720
 
721
721
  # The textual values of this custom attribute. For example, `["yellow", "green"]`
722
- # when the key is "color". Exactly one of text or numbers should be set.
723
- # Otherwise, an INVALID_ARGUMENT error is returned.
722
+ # when the key is "color". Empty string is not allowed. Otherwise, an
723
+ # INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be
724
+ # set. Otherwise, an INVALID_ARGUMENT error is returned.
724
725
  # Corresponds to the JSON property `text`
725
726
  # @return [Array<String>]
726
727
  attr_accessor :text
@@ -936,9 +937,9 @@ module Google
936
937
  class GoogleCloudRetailV2ImportErrorsConfig
937
938
  include Google::Apis::Core::Hashable
938
939
 
939
- # Google Cloud Storage path for import errors. This must be an empty, existing
940
- # Cloud Storage bucket. Import errors will be written to a file in this bucket,
941
- # one per line, as a JSON-encoded `google.rpc.Status` message.
940
+ # Google Cloud Storage prefix for import errors. This must be an empty, existing
941
+ # Cloud Storage directory. Import errors will be written to sharded files in
942
+ # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
942
943
  # Corresponds to the JSON property `gcsPrefix`
943
944
  # @return [String]
944
945
  attr_accessor :gcs_prefix
@@ -1531,9 +1532,9 @@ module Google
1531
1532
  # be a UTF-8 encoded string with a length limit of 128 characters. * For
1532
1533
  # indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
1533
1534
  # `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400
1534
- # values are allowed. Empty values are not allowed. Each value must be a UTF-8
1535
- # encoded string with a length limit of 256 characters. * For number attributes,
1536
- # at most 400 values are allowed.
1535
+ # values are allowed. Empty values are not allowed. Each value must be a non-
1536
+ # empty UTF-8 encoded string with a length limit of 256 characters. * For number
1537
+ # attributes, at most 400 values are allowed.
1537
1538
  # Corresponds to the JSON property `attributes`
1538
1539
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
1539
1540
  attr_accessor :attributes
@@ -3045,11 +3046,20 @@ module Google
3045
3046
  include Google::Apis::Core::Hashable
3046
3047
 
3047
3048
  # The final component of the resource name of a branch. This field must be one
3048
- # of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned.
3049
+ # of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned. If there
3050
+ # are no sufficient active products in the targeted branch and force is not set,
3051
+ # a FAILED_PRECONDITION error is returned.
3049
3052
  # Corresponds to the JSON property `branchId`
3050
3053
  # @return [String]
3051
3054
  attr_accessor :branch_id
3052
3055
 
3056
+ # If set to true, it permits switching to a branch with branch_id even if it has
3057
+ # no sufficient active products.
3058
+ # Corresponds to the JSON property `force`
3059
+ # @return [Boolean]
3060
+ attr_accessor :force
3061
+ alias_method :force?, :force
3062
+
3053
3063
  # Some note on this request, this can be retrieved by CatalogService.
3054
3064
  # GetDefaultBranch before next valid default branch set occurs. This field must
3055
3065
  # be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise,
@@ -3065,6 +3075,7 @@ module Google
3065
3075
  # Update properties of this object
3066
3076
  def update!(**args)
3067
3077
  @branch_id = args[:branch_id] if args.key?(:branch_id)
3078
+ @force = args[:force] if args.key?(:force)
3068
3079
  @note = args[:note] if args.key?(:note)
3069
3080
  end
3070
3081
  end
@@ -3681,9 +3692,9 @@ module Google
3681
3692
  class GoogleCloudRetailV2alphaImportErrorsConfig
3682
3693
  include Google::Apis::Core::Hashable
3683
3694
 
3684
- # Google Cloud Storage path for import errors. This must be an empty, existing
3685
- # Cloud Storage bucket. Import errors will be written to a file in this bucket,
3686
- # one per line, as a JSON-encoded `google.rpc.Status` message.
3695
+ # Google Cloud Storage prefix for import errors. This must be an empty, existing
3696
+ # Cloud Storage directory. Import errors will be written to sharded files in
3697
+ # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
3687
3698
  # Corresponds to the JSON property `gcsPrefix`
3688
3699
  # @return [String]
3689
3700
  attr_accessor :gcs_prefix
@@ -4151,9 +4162,9 @@ module Google
4151
4162
  class GoogleCloudRetailV2betaImportErrorsConfig
4152
4163
  include Google::Apis::Core::Hashable
4153
4164
 
4154
- # Google Cloud Storage path for import errors. This must be an empty, existing
4155
- # Cloud Storage bucket. Import errors will be written to a file in this bucket,
4156
- # one per line, as a JSON-encoded `google.rpc.Status` message.
4165
+ # Google Cloud Storage prefix for import errors. This must be an empty, existing
4166
+ # Cloud Storage directory. Import errors will be written to sharded files in
4167
+ # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
4157
4168
  # Corresponds to the JSON property `gcsPrefix`
4158
4169
  # @return [String]
4159
4170
  attr_accessor :gcs_prefix
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220210"
25
+ REVISION = "20220217"
26
26
  end
27
27
  end
28
28
  end
@@ -1508,6 +1508,7 @@ module Google
1508
1508
  # @private
1509
1509
  class Representation < Google::Apis::Core::JsonRepresentation
1510
1510
  property :branch_id, as: 'branchId'
1511
+ property :force, as: 'force'
1511
1512
  property :note, as: 'note'
1512
1513
  end
1513
1514
  end
@@ -682,7 +682,7 @@ module Google
682
682
  # CreateProduct or UpdateProduct request. If no inventory fields are set in
683
683
  # CreateProductRequest.product, then any pre-existing inventory information for
684
684
  # this product will be used. If no inventory fields are set in
685
- # UpdateProductRequest.set_mask, then any existing inventory information will be
685
+ # SetInventoryRequest.set_mask, then any existing inventory information will be
686
686
  # preserved. Pre-existing inventory information can only be updated with
687
687
  # SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature
688
688
  # is only available for users who have Retail Search enabled. Please submit a
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.28.0
4
+ version: 0.29.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-28 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.29.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: []