google-apis-retail_v2alpha 0.67.0 → 0.68.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5f4699f6bdc0a1d4b4d24a70c50918bfb16db7ccbc181fcdd24759c4b727577
4
- data.tar.gz: 88e717be4cbec0bdfcbd36fcbf2b79e664ea45f45978c52f2142d9f29baeaaff
3
+ metadata.gz: a67a9470ca21f0fadc2b763937539018c05e491594cd414a6c1fdf5640bc1695
4
+ data.tar.gz: 4c92cf6cbfbb93d85ae4c9b780d184a44683d2d23bd6419c3518db560fa57770
5
5
  SHA512:
6
- metadata.gz: 79753cd70d44e1cdd2ba419f58dec1658b8db3465d67aeaf7a4c482a5b1a2e6faf85b459f498c57478b5a8a19395871c06f71f73c42b5850dc0f798a88008f77
7
- data.tar.gz: 57c99c47368debcf36d376b8794f23091b78b61b8e3229a4fef46519d86de759e6f17cb89baea9d7d878fc919c8320ae68ebb108b9f208020a24f57dcfe6554d
6
+ metadata.gz: f419f938d9b014be77f07e859413271b35fdb66c42d54061483a5841baf86f2d6007d6f68d8de0b174e73acd5af7b53c666f932e28a7c0b8e99bceb69bab9730
7
+ data.tar.gz: b34f9a9ec48ca5e724bc62ae4f4fe9c00af13c4279c7ab4e251de3927913eea49035f3539020d1d3d529063d92b452b01bbb767e889b245fd8f3f8f0af874af2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.68.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230202
6
+
3
7
  ### v0.67.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230119
@@ -1260,10 +1260,10 @@ module Google
1260
1260
  # imports: * `user_event` (default): One JSON UserEvent per line. * `
1261
1261
  # user_event_ga360`: The schema is available here: https://support.google.com/
1262
1262
  # analytics/answer/3437719. * `user_event_ga4`: The schema is available here:
1263
- # https://support.google.com/analytics/answer/7029846. Supported values for auto-
1264
- # completion imports: * `suggestions` (default): One JSON completion suggestion
1265
- # per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One
1266
- # JSON allow suggestion per line.
1263
+ # https://support.google.com/analytics/answer/7029846. Supported values for
1264
+ # autocomplete imports: * `suggestions` (default): One JSON completion
1265
+ # suggestion per line. * `denylist`: One JSON deny suggestion per line. * `
1266
+ # allowlist`: One JSON allow suggestion per line.
1267
1267
  # Corresponds to the JSON property `dataSchema`
1268
1268
  # @return [String]
1269
1269
  attr_accessor :data_schema
@@ -1506,7 +1506,7 @@ module Google
1506
1506
  end
1507
1507
  end
1508
1508
 
1509
- # Response of the auto-complete query.
1509
+ # Response of the autocomplete query.
1510
1510
  class GoogleCloudRetailV2alphaCompleteQueryResponse
1511
1511
  include Google::Apis::Core::Hashable
1512
1512
 
@@ -3300,8 +3300,9 @@ module Google
3300
3300
  # filterSyntaxV2` is set to true under the `params` field, then attribute-based
3301
3301
  # expressions are expected instead of the above described tag-based syntax.
3302
3302
  # Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
3303
- # (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
3304
- # Phones"))
3303
+ # (brands: ANY("Pixel")) AND (colors: ANY("Red") OR categories: ANY("Phones"))
3304
+ # For more information, see [Filter recommendations](https://cloud.google.com/
3305
+ # retail/docs/filter-recs).
3305
3306
  # Corresponds to the JSON property `filter`
3306
3307
  # @return [String]
3307
3308
  attr_accessor :filter
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230119"
25
+ REVISION = "20230202"
26
26
  end
27
27
  end
28
28
  end
@@ -791,6 +791,12 @@ module Google
791
791
  # Product.Type.PRIMARY Product with more than one variants. Otherwise, an
792
792
  # INVALID_ARGUMENT error is returned. All inventory information for the named
793
793
  # Product will be deleted.
794
+ # @param [Boolean] cascade_delete
795
+ # This value only applies to the case when the target product is of type PRIMARY.
796
+ # When deleting a product of VARIANT/COLLECTION type, this value will be
797
+ # ignored. When set to true, the subsequent variant products will be deleted.
798
+ # When set to false, if the primary product has active variant products, an
799
+ # error will be returned.
794
800
  # @param [String] fields
795
801
  # Selector specifying which fields to include in a partial response.
796
802
  # @param [String] quota_user
@@ -808,11 +814,12 @@ module Google
808
814
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
809
815
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
816
  # @raise [Google::Apis::AuthorizationError] Authorization is required
811
- def delete_project_location_catalog_branch_product(name, fields: nil, quota_user: nil, options: nil, &block)
817
+ def delete_project_location_catalog_branch_product(name, cascade_delete: nil, fields: nil, quota_user: nil, options: nil, &block)
812
818
  command = make_simple_command(:delete, 'v2alpha/{+name}', options)
813
819
  command.response_representation = Google::Apis::RetailV2alpha::GoogleProtobufEmpty::Representation
814
820
  command.response_class = Google::Apis::RetailV2alpha::GoogleProtobufEmpty
815
821
  command.params['name'] = name unless name.nil?
822
+ command.query['cascadeDelete'] = cascade_delete unless cascade_delete.nil?
816
823
  command.query['fields'] = fields unless fields.nil?
817
824
  command.query['quotaUser'] = quota_user unless quota_user.nil?
818
825
  execute_or_queue_command(command, &block)
@@ -1494,6 +1501,37 @@ module Google
1494
1501
  execute_or_queue_command(command, &block)
1495
1502
  end
1496
1503
 
1504
+ # Gets a model.
1505
+ # @param [String] name
1506
+ # Required. The resource name of the Model to get. Format: `projects/`
1507
+ # project_number`/locations/`location_id`/catalogs/`catalog`/models/`model_id``
1508
+ # @param [String] fields
1509
+ # Selector specifying which fields to include in a partial response.
1510
+ # @param [String] quota_user
1511
+ # Available to use for quota purposes for server-side applications. Can be any
1512
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1513
+ # @param [Google::Apis::RequestOptions] options
1514
+ # Request-specific options
1515
+ #
1516
+ # @yield [result, err] Result & error if block supplied
1517
+ # @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] parsed result object
1518
+ # @yieldparam err [StandardError] error object if request failed
1519
+ #
1520
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel]
1521
+ #
1522
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1523
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1524
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1525
+ def get_project_location_catalog_model(name, fields: nil, quota_user: nil, options: nil, &block)
1526
+ command = make_simple_command(:get, 'v2alpha/{+name}', options)
1527
+ command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel::Representation
1528
+ command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel
1529
+ command.params['name'] = name unless name.nil?
1530
+ command.query['fields'] = fields unless fields.nil?
1531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1532
+ execute_or_queue_command(command, &block)
1533
+ end
1534
+
1497
1535
  # Lists all the models linked to this event store.
1498
1536
  # @param [String] parent
1499
1537
  # Required. The parent for which to list models. Format: `projects/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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: 2023-01-29 00:00:00.000000000 Z
11
+ date: 2023-02-12 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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []