google-apis-retail_v2alpha 0.36.0 → 0.37.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: fded543728d24f668d94eab627257d7b2b4b35bfa5040463ebe7b947814cc445
4
- data.tar.gz: 398dab6a6d9156d5744f23b56fc5b4f8df10f80e8ddb9e85b92936a9fb1c55d5
3
+ metadata.gz: caea85e4dc8a3c22833aa7302515b8e21035a770cc0be655122536284b33c4ba
4
+ data.tar.gz: 2a40905b2e51af4d99ceff5d672ba74d77e84752427ae54c7419ba4f8c4fb5bd
5
5
  SHA512:
6
- metadata.gz: 0b5d043eb964f4b1f4a420c0637f14a3e8e4c67f1fee378fc5789d5767ae440f86ce130c760a7df96635e26f6fd8064df8990a97d3dc8217f1bcf296e91a6b14
7
- data.tar.gz: a2ccb8df5765151de59180404029c918fafb267dadadc647aa12a1344dee448a1fb966c9178a94a79285763e999177cbe614d9c70d48de78be6419d78541ebd3
6
+ metadata.gz: 5093e1e3bbd1f1666e27b98e9790922611226c3e668e287aa7fad5397db44c692c85dbe42857db9f848173083dc46c48fd9b1c1429f82a04aa65a2e2faa4582e
7
+ data.tar.gz: 20a3171589e843b72530a88b00881c15bc0093f37a9b0ab6ee6bb02f5d1f179f57c76998a319167481951b646d1e541fab513956bc8878def75749abade94a9f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.37.0 (2022-04-22)
4
+
5
+ * Regenerated from discovery document revision 20220414
6
+
3
7
  ### v0.36.0 (2022-04-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20220408
@@ -2004,11 +2004,15 @@ module Google
2004
2004
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInputConfig]
2005
2005
  attr_accessor :input_config
2006
2006
 
2007
- # Pub/Sub topic for receiving notification. If this field is set, when the
2008
- # import is finished, a notification will be sent to specified Pub/Sub topic.
2007
+ # Full Pub/Sub topic name for receiving notification. If this field is set, when
2008
+ # the import is finished, a notification will be sent to specified Pub/Sub topic.
2009
2009
  # The message data will be JSON string of a Operation. Format of the Pub/Sub
2010
- # topic is `projects/`project`/topics/`topic``. Only supported when
2011
- # ImportProductsRequest.reconciliation_mode is set to `FULL`.
2010
+ # topic is `projects/`project`/topics/`topic``. It has to be within the same
2011
+ # project as ImportProductsRequest.parent. Make sure that both `cloud-retail-
2012
+ # customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.
2013
+ # iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on
2014
+ # the topic. Only supported when ImportProductsRequest.reconciliation_mode is
2015
+ # set to `FULL`.
2012
2016
  # Corresponds to the JSON property `notificationPubsubTopic`
2013
2017
  # @return [String]
2014
2018
  attr_accessor :notification_pubsub_topic
@@ -2024,6 +2028,15 @@ module Google
2024
2028
  # @return [String]
2025
2029
  attr_accessor :request_id
2026
2030
 
2031
+ # If true, will perform the FULL import even if it would delete a large
2032
+ # proportion of the products in the default branch, which could potentially
2033
+ # cause outages if you have live predict/search traffic. Only supported when
2034
+ # ImportProductsRequest.reconciliation_mode is set to `FULL`.
2035
+ # Corresponds to the JSON property `skipDefaultBranchProtection`
2036
+ # @return [Boolean]
2037
+ attr_accessor :skip_default_branch_protection
2038
+ alias_method :skip_default_branch_protection?, :skip_default_branch_protection
2039
+
2027
2040
  # Indicates which fields in the provided imported 'products' to update. If not
2028
2041
  # set, will by default update all fields.
2029
2042
  # Corresponds to the JSON property `updateMask`
@@ -2041,6 +2054,7 @@ module Google
2041
2054
  @notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
2042
2055
  @reconciliation_mode = args[:reconciliation_mode] if args.key?(:reconciliation_mode)
2043
2056
  @request_id = args[:request_id] if args.key?(:request_id)
2057
+ @skip_default_branch_protection = args[:skip_default_branch_protection] if args.key?(:skip_default_branch_protection)
2044
2058
  @update_mask = args[:update_mask] if args.key?(:update_mask)
2045
2059
  end
2046
2060
  end
@@ -2609,7 +2623,8 @@ module Google
2609
2623
  attr_accessor :currency_code
2610
2624
 
2611
2625
  # Price of the product without any discount. If zero, by default set to be the
2612
- # price.
2626
+ # price. If set, original_price should be greater than or equal to price,
2627
+ # otherwise an INVALID_ARGUMENT error is thrown.
2613
2628
  # Corresponds to the JSON property `originalPrice`
2614
2629
  # @return [Float]
2615
2630
  attr_accessor :original_price
@@ -4117,6 +4132,21 @@ module Google
4117
4132
  # @return [String]
4118
4133
  attr_accessor :filter
4119
4134
 
4135
+ # The labels applied to a resource must meet the following requirements: * Each
4136
+ # resource can have multiple labels, up to a maximum of 64. * Each label must be
4137
+ # a key-value pair. * Keys have a minimum length of 1 character and a maximum
4138
+ # length of 63 characters, and cannot be empty. Values can be empty, and have a
4139
+ # maximum length of 63 characters. * Keys and values can contain only lowercase
4140
+ # letters, numeric characters, underscores, and dashes. All characters must use
4141
+ # UTF-8 encoding, and international characters are allowed. * The key portion of
4142
+ # a label must be unique. However, you can use the same key with multiple
4143
+ # resources. * Keys must start with a lowercase letter or international
4144
+ # character. See [Google Cloud Document](https://cloud.google.com/resource-
4145
+ # manager/docs/creating-managing-labels#requirements) for more details.
4146
+ # Corresponds to the JSON property `labels`
4147
+ # @return [Hash<String,String>]
4148
+ attr_accessor :labels
4149
+
4120
4150
  # A 0-indexed integer that specifies the current offset (that is, starting
4121
4151
  # result location, amongst the Products deemed by the API as relevant) in search
4122
4152
  # results. This field is only considered if page_token is unset. If this field
@@ -4248,6 +4278,7 @@ module Google
4248
4278
  @dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
4249
4279
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
4250
4280
  @filter = args[:filter] if args.key?(:filter)
4281
+ @labels = args[:labels] if args.key?(:labels)
4251
4282
  @offset = args[:offset] if args.key?(:offset)
4252
4283
  @order_by = args[:order_by] if args.key?(:order_by)
4253
4284
  @page_categories = args[:page_categories] if args.key?(:page_categories)
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.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 = "20220408"
25
+ REVISION = "20220414"
26
26
  end
27
27
  end
28
28
  end
@@ -1594,6 +1594,7 @@ module Google
1594
1594
  property :notification_pubsub_topic, as: 'notificationPubsubTopic'
1595
1595
  property :reconciliation_mode, as: 'reconciliationMode'
1596
1596
  property :request_id, as: 'requestId'
1597
+ property :skip_default_branch_protection, as: 'skipDefaultBranchProtection'
1597
1598
  property :update_mask, as: 'updateMask'
1598
1599
  end
1599
1600
  end
@@ -2109,6 +2110,7 @@ module Google
2109
2110
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec::Representation
2110
2111
 
2111
2112
  property :filter, as: 'filter'
2113
+ hash :labels, as: 'labels'
2112
2114
  property :offset, as: 'offset'
2113
2115
  property :order_by, as: 'orderBy'
2114
2116
  collection :page_categories, as: 'pageCategories'
@@ -1424,8 +1424,8 @@ module Google
1424
1424
  # servingConfigs` resource. `placements` is a legacy resource. The ID of the
1425
1425
  # Recommendations AI serving config or placement. Before you can request
1426
1426
  # predictions from your model, you must create at least one serving config or
1427
- # placement for it. For more information, see [Managing serving configurations].
1428
- # (https://cloud.google.com/retail/docs/manage-configs). The full list of
1427
+ # placement for it. For more information, see [Managing serving configurations] (
1428
+ # https://cloud.google.com/retail/docs/manage-configs). The full list of
1429
1429
  # available serving configs can be seen at https://console.cloud.google.com/ai/
1430
1430
  # retail/catalogs/default_catalog/configs
1431
1431
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
@@ -1730,8 +1730,8 @@ module Google
1730
1730
  # servingConfigs` resource. `placements` is a legacy resource. The ID of the
1731
1731
  # Recommendations AI serving config or placement. Before you can request
1732
1732
  # predictions from your model, you must create at least one serving config or
1733
- # placement for it. For more information, see [Managing serving configurations].
1734
- # (https://cloud.google.com/retail/docs/manage-configs). The full list of
1733
+ # placement for it. For more information, see [Managing serving configurations] (
1734
+ # https://cloud.google.com/retail/docs/manage-configs). The full list of
1735
1735
  # available serving configs can be seen at https://console.cloud.google.com/ai/
1736
1736
  # retail/catalogs/default_catalog/configs
1737
1737
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
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.36.0
4
+ version: 0.37.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-04-25 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.37.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: []