google-apis-retail_v2 0.19.0 → 0.20.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: 1cc744b4883f63b65feb4b5398dac6d8367d0462bccf1ad3077f0e604f5664a5
4
- data.tar.gz: 2595bda7d65085f010819b881ffac7f12e19904c669dba0a96e30a107f5a4861
3
+ metadata.gz: 7d42d12e9ff9de712f7baa2f7ca911972b611526b26d30cef2be8fd5139898cb
4
+ data.tar.gz: 8f411a5fe49df3d14c0bfcfd8791666737bb02359c6a220da4303e2dfad45c28
5
5
  SHA512:
6
- metadata.gz: aeed8321fe4915ef9ea7e82c90b912c0f30f1f7fb669c1fd39dcc24ceafef1be15246e9f82b83d02ee52e70a64ea0d40337d8d1491d6e20eb8e28dcd8e03e40a
7
- data.tar.gz: b26e24a2e0721114e12707ede5a8d97ffe5c1b39dda615451dcc03b840250a36a9f5140f227498db058368090484bfcefaf80ee2379dbc64c2d0aeca47d822c6
6
+ metadata.gz: 4768e93eb02a2a008812a622f2ed30b150354c85f39d576b9980174dafebdb90756ea2b589b374543bc3d8b5237536bf600f72a9745b898b71567b3eaac6d84e
7
+ data.tar.gz: d6dee21de3339148da8e8f387930ee5dbadb7b5444519c0a495a35cbc31f22161416d26910546695825fc3a5d9c106bf073d505742e91582e3ecadf567c5b6ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.20.0 (2021-11-03)
4
+
5
+ * Regenerated from discovery document revision 20211028
6
+
3
7
  ### v0.19.0 (2021-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20211021
@@ -318,7 +318,7 @@ module Google
318
318
  # or the region IDs for "same-day-delivery" to be added for this type. Duplicate
319
319
  # IDs will be automatically ignored. At least 1 value is required, and a maximum
320
320
  # of 2000 values are allowed. Each value must be a string with a length limit of
321
- # 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1" or "
321
+ # 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "
322
322
  # REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total
323
323
  # number of place IDs exceeds 2000 for this type after adding, then the update
324
324
  # will be rejected.
@@ -742,7 +742,7 @@ module Google
742
742
  # The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
743
743
  # in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
744
744
  # maximum of 3000 values are allowed. Each value must be a string with a length
745
- # limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
745
+ # limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1"
746
746
  # or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
747
747
  # Corresponds to the JSON property `placeIds`
748
748
  # @return [Array<String>]
@@ -1032,8 +1032,8 @@ module Google
1032
1032
 
1033
1033
  # Unique identifier provided by client, within the ancestor dataset scope.
1034
1034
  # Ensures idempotency and used for request deduplication. Server-generated if
1035
- # unspecified. Up to 128 characters long and must match the pattern: "[a-zA-Z0-
1036
- # 9_]+". This is returned as Operation.name in ImportMetadata. Only supported
1035
+ # unspecified. Up to 128 characters long and must match the pattern: `[a-zA-Z0-
1036
+ # 9_]+`. This is returned as Operation.name in ImportMetadata. Only supported
1037
1037
  # when ImportProductsRequest.reconciliation_mode is set to `FULL`.
1038
1038
  # Corresponds to the JSON property `requestId`
1039
1039
  # @return [String]
@@ -1522,7 +1522,7 @@ module Google
1522
1522
  # :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
1523
1523
  # INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
1524
1524
  # be a UTF-8 encoded string with a length limit of 128 characters. * For
1525
- # indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example,
1525
+ # indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
1526
1526
  # key0LikeThis or KEY_1_LIKE_THIS.
1527
1527
  # Corresponds to the JSON property `attributes`
1528
1528
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
@@ -1995,8 +1995,8 @@ module Google
1995
1995
  include Google::Apis::Core::Hashable
1996
1996
 
1997
1997
  # ID of the promotion. For example, "free gift". The value value must be a UTF-8
1998
- # encoded string with a length limit of 128 characters, and match the pattern: a-
1999
- # zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
1998
+ # encoded string with a length limit of 128 characters, and match the pattern: `
1999
+ # a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
2000
2000
  # INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
2001
2001
  # (https://support.google.com/merchants/answer/7050148).
2002
2002
  # Corresponds to the JSON property `promotionId`
@@ -2257,7 +2257,7 @@ module Google
2257
2257
  # or the region IDs for "same-day-delivery", to be removed for this type. At
2258
2258
  # least 1 value is required, and a maximum of 2000 values are allowed. Each
2259
2259
  # value must be a string with a length limit of 10 characters, matching the
2260
- # pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an
2260
+ # pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
2261
2261
  # INVALID_ARGUMENT error is returned.
2262
2262
  # Corresponds to the JSON property `placeIds`
2263
2263
  # @return [Array<String>]
@@ -3456,6 +3456,35 @@ module Google
3456
3456
  end
3457
3457
  end
3458
3458
 
3459
+ # Metadata related to the progress of the AddLocalInventories operation.
3460
+ # Currently empty because there is no meaningful metadata populated from the
3461
+ # AddLocalInventories method.
3462
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
3463
+ include Google::Apis::Core::Hashable
3464
+
3465
+ def initialize(**args)
3466
+ update!(**args)
3467
+ end
3468
+
3469
+ # Update properties of this object
3470
+ def update!(**args)
3471
+ end
3472
+ end
3473
+
3474
+ # Response of the AddLocalInventories API. Currently empty because there is no
3475
+ # meaningful response populated from the AddLocalInventories method.
3476
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
3477
+ include Google::Apis::Core::Hashable
3478
+
3479
+ def initialize(**args)
3480
+ update!(**args)
3481
+ end
3482
+
3483
+ # Update properties of this object
3484
+ def update!(**args)
3485
+ end
3486
+ end
3487
+
3459
3488
  # Configuration of destination for Export related errors.
3460
3489
  class GoogleCloudRetailV2alphaExportErrorsConfig
3461
3490
  include Google::Apis::Core::Hashable
@@ -3812,6 +3841,35 @@ module Google
3812
3841
  end
3813
3842
  end
3814
3843
 
3844
+ # Metadata related to the progress of the RemoveLocalInventories operation.
3845
+ # Currently empty because there is no meaningful metadata populated from the
3846
+ # RemoveLocalInventories method.
3847
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
3848
+ include Google::Apis::Core::Hashable
3849
+
3850
+ def initialize(**args)
3851
+ update!(**args)
3852
+ end
3853
+
3854
+ # Update properties of this object
3855
+ def update!(**args)
3856
+ end
3857
+ end
3858
+
3859
+ # Response of the RemoveLocalInventories API. Currently empty because there is
3860
+ # no meaningful response populated from the RemoveLocalInventories method.
3861
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
3862
+ include Google::Apis::Core::Hashable
3863
+
3864
+ def initialize(**args)
3865
+ update!(**args)
3866
+ end
3867
+
3868
+ # Update properties of this object
3869
+ def update!(**args)
3870
+ end
3871
+ end
3872
+
3815
3873
  # Metadata related to the progress of the SetInventory operation. Currently
3816
3874
  # empty because there is no meaningful metadata populated from the SetInventory
3817
3875
  # method.
@@ -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.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211021"
25
+ REVISION = "20211028"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,18 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
505
517
  class GoogleCloudRetailV2alphaExportErrorsConfig
506
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
519
 
@@ -592,6 +604,18 @@ module Google
592
604
  include Google::Apis::Core::JsonObjectSupport
593
605
  end
594
606
 
607
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class GoogleCloudRetailV2alphaSetInventoryMetadata
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -1573,6 +1597,18 @@ module Google
1573
1597
  end
1574
1598
  end
1575
1599
 
1600
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ end
1604
+ end
1605
+
1606
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
1607
+ # @private
1608
+ class Representation < Google::Apis::Core::JsonRepresentation
1609
+ end
1610
+ end
1611
+
1576
1612
  class GoogleCloudRetailV2alphaExportErrorsConfig
1577
1613
  # @private
1578
1614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1695,6 +1731,18 @@ module Google
1695
1731
  end
1696
1732
  end
1697
1733
 
1734
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
1735
+ # @private
1736
+ class Representation < Google::Apis::Core::JsonRepresentation
1737
+ end
1738
+ end
1739
+
1740
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
1741
+ # @private
1742
+ class Representation < Google::Apis::Core::JsonRepresentation
1743
+ end
1744
+ end
1745
+
1698
1746
  class GoogleCloudRetailV2alphaSetInventoryMetadata
1699
1747
  # @private
1700
1748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -67,10 +67,10 @@ module Google
67
67
  # cloud-retail, contact Cloud Retail support team first.
68
68
  # @param [String] device_type
69
69
  # The device type context for completion suggestions. It is useful to apply
70
- # different suggestions on different device types, e.g. DESKTOP, MOBILE. If it
71
- # is empty, the suggestions are across all device types. Supported formats: *
72
- # UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with
73
- # OTHER_, e.g. OTHER_IPHONE.
70
+ # different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If
71
+ # it is empty, the suggestions are across all device types. Supported formats: *
72
+ # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
73
+ # `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Array<String>, String] language_codes
75
75
  # The list of languages of the query. This is the BCP-47 language code, such as "
76
76
  # en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages]
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.19.0
4
+ version: 0.20.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-08 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.20.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: []