google-apis-retail_v2alpha 0.50.0 → 0.51.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: d890c1a65e53a027afcd59800f3d47e4e6f818ca8dede7f80961898a042b4a23
4
- data.tar.gz: e8f78f4aae8cb0f748030884adabdff2ada82bfbfa145733481925c417dc05ec
3
+ metadata.gz: 18dbc96cd791962636ccea2130f4c28457fb1bb7cfa739461f5a0ee32c37d713
4
+ data.tar.gz: 9e41bb871a70b49c21e5dba070f8bb58b1a915c82f1d169d5f83bbe099286e29
5
5
  SHA512:
6
- metadata.gz: 771439e5fb82eed062625e28f92ecfc434ef8098a9f2d4605b6dfc4ced62a9a22375079195dee54dacdb7aa04d75de17f9e48b50bbe5a1edeca063fe00a48029
7
- data.tar.gz: aee7cf4032cc22d6adf63b4feb85cd1af4336143b1a68e630342908e760d4f0b04f929c489a6d7b35a2295290d73e9b7756075b60f67960bf26f06761d338332
6
+ metadata.gz: a1519608bf99b6f015a25b68e92694fca58fb2ed8b232ea7bedc7c0235ff223211f55e45f5248a13c0a1b2b253e4768055387d3c3690c50f1c78b6cf030abbb4
7
+ data.tar.gz: 8a8018b93f65677f84779903983691dfeda63025474d7bdc2d11d158d699863faaaa7527a2e470e3d4461f70278aeb5efcb25d2abda21bdec47e28145be0cb50
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.51.0 (2022-08-03)
4
+
5
+ * Regenerated from discovery document revision 20220729
6
+
3
7
  ### v0.50.0 (2022-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220722
@@ -960,6 +960,54 @@ module Google
960
960
  end
961
961
  end
962
962
 
963
+ # Request for CatalogService.BatchRemoveCatalogAttributes method.
964
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
965
+ include Google::Apis::Core::Hashable
966
+
967
+ # Required. The attribute name keys of the CatalogAttributes to delete. A
968
+ # maximum of 1000 catalog attributes can be deleted in a batch.
969
+ # Corresponds to the JSON property `attributeKeys`
970
+ # @return [Array<String>]
971
+ attr_accessor :attribute_keys
972
+
973
+ def initialize(**args)
974
+ update!(**args)
975
+ end
976
+
977
+ # Update properties of this object
978
+ def update!(**args)
979
+ @attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys)
980
+ end
981
+ end
982
+
983
+ # Response of the CatalogService.BatchRemoveCatalogAttributes.
984
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
985
+ include Google::Apis::Core::Hashable
986
+
987
+ # Catalog attributes that were deleted. Only attributes that are not in use by
988
+ # products can be deleted.
989
+ # Corresponds to the JSON property `deletedCatalogAttributes`
990
+ # @return [Array<String>]
991
+ attr_accessor :deleted_catalog_attributes
992
+
993
+ # Catalog attributes that were reset. Attributes that are in use by products
994
+ # cannot be deleted, however their configuration properties will reset to
995
+ # default values upon removal request.
996
+ # Corresponds to the JSON property `resetCatalogAttributes`
997
+ # @return [Array<String>]
998
+ attr_accessor :reset_catalog_attributes
999
+
1000
+ def initialize(**args)
1001
+ update!(**args)
1002
+ end
1003
+
1004
+ # Update properties of this object
1005
+ def update!(**args)
1006
+ @deleted_catalog_attributes = args[:deleted_catalog_attributes] if args.key?(:deleted_catalog_attributes)
1007
+ @reset_catalog_attributes = args[:reset_catalog_attributes] if args.key?(:reset_catalog_attributes)
1008
+ end
1009
+ end
1010
+
963
1011
  # A BigQuery output result.
964
1012
  class GoogleCloudRetailV2alphaBigQueryOutputResult
965
1013
  include Google::Apis::Core::Hashable
@@ -996,12 +1044,11 @@ module Google
996
1044
  # recommendations-ai/docs/upload-catalog#mc). Supported values for user events
997
1045
  # imports: * `user_event` (default): One JSON UserEvent per line. * `
998
1046
  # user_event_ga360`: The schema is available here: https://support.google.com/
999
- # analytics/answer/3437719. * `user_event_ga4`: This feature is in private
1000
- # preview. Please contact the support team for importing Google Analytics 4
1001
- # events. The schema is available here: https://support.google.com/analytics/
1002
- # answer/7029846. Supported values for auto-completion imports: * `suggestions` (
1003
- # default): One JSON completion suggestion per line. * `denylist`: One JSON deny
1004
- # suggestion per line. * `allowlist`: One JSON allow suggestion per line.
1047
+ # analytics/answer/3437719. * `user_event_ga4`: The schema is available here:
1048
+ # https://support.google.com/analytics/answer/7029846. Supported values for auto-
1049
+ # completion imports: * `suggestions` (default): One JSON completion suggestion
1050
+ # per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One
1051
+ # JSON allow suggestion per line.
1005
1052
  # Corresponds to the JSON property `dataSchema`
1006
1053
  # @return [String]
1007
1054
  attr_accessor :data_schema
@@ -1112,6 +1159,13 @@ module Google
1112
1159
  # @return [String]
1113
1160
  attr_accessor :dynamic_facetable_option
1114
1161
 
1162
+ # If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
1163
+ # property only applies to textual custom attributes and requires indexable set
1164
+ # to enabled to enable exact-searchable.
1165
+ # Corresponds to the JSON property `exactSearchableOption`
1166
+ # @return [String]
1167
+ attr_accessor :exact_searchable_option
1168
+
1115
1169
  # Output only. Indicates whether this attribute has been used by any products. `
1116
1170
  # True` if at least one Product is using this attribute in Product.attributes.
1117
1171
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -1173,6 +1227,7 @@ module Google
1173
1227
  # Update properties of this object
1174
1228
  def update!(**args)
1175
1229
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
1230
+ @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
1176
1231
  @in_use = args[:in_use] if args.key?(:in_use)
1177
1232
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1178
1233
  @key = args[:key] if args.key?(:key)
@@ -1365,16 +1420,16 @@ module Google
1365
1420
  # @return [String]
1366
1421
  attr_accessor :matching_order
1367
1422
 
1368
- # The maximum number of autocomplete suggestions returned per term. The maximum
1369
- # allowed max suggestions is 20. Default value is 20. If left unset or set to 0,
1370
- # then will fallback to default value.
1423
+ # The maximum number of autocomplete suggestions returned per term. Default
1424
+ # value is 20. If left unset or set to 0, then will fallback to default value.
1425
+ # Value range is 1 to 20.
1371
1426
  # Corresponds to the JSON property `maxSuggestions`
1372
1427
  # @return [Fixnum]
1373
1428
  attr_accessor :max_suggestions
1374
1429
 
1375
1430
  # The minimum number of characters needed to be typed in order to get
1376
1431
  # suggestions. Default value is 2. If left unset or set to 0, then will fallback
1377
- # to default value.
1432
+ # to default value. Value range is 1 to 20.
1378
1433
  # Corresponds to the JSON property `minPrefixLength`
1379
1434
  # @return [Fixnum]
1380
1435
  attr_accessor :min_prefix_length
@@ -2052,6 +2107,11 @@ module Google
2052
2107
  # @return [Fixnum]
2053
2108
  attr_accessor :success_count
2054
2109
 
2110
+ # Metadata related to transform user events operation.
2111
+ # Corresponds to the JSON property `transformedUserEventsMetadata`
2112
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata]
2113
+ attr_accessor :transformed_user_events_metadata
2114
+
2055
2115
  # Operation last update time. If the operation is done, this is also the finish
2056
2116
  # time.
2057
2117
  # Corresponds to the JSON property `updateTime`
@@ -2069,6 +2129,7 @@ module Google
2069
2129
  @notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
2070
2130
  @request_id = args[:request_id] if args.key?(:request_id)
2071
2131
  @success_count = args[:success_count] if args.key?(:success_count)
2132
+ @transformed_user_events_metadata = args[:transformed_user_events_metadata] if args.key?(:transformed_user_events_metadata)
2072
2133
  @update_time = args[:update_time] if args.key?(:update_time)
2073
2134
  end
2074
2135
  end
@@ -2091,11 +2152,9 @@ module Google
2091
2152
  # the import is finished, a notification will be sent to specified Pub/Sub topic.
2092
2153
  # The message data will be JSON string of a Operation. Format of the Pub/Sub
2093
2154
  # topic is `projects/`project`/topics/`topic``. It has to be within the same
2094
- # project as ImportProductsRequest.parent. Make sure that both `cloud-retail-
2095
- # customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.
2096
- # iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on
2097
- # the topic. Only supported when ImportProductsRequest.reconciliation_mode is
2098
- # set to `FULL`.
2155
+ # project as ImportProductsRequest.parent. Make sure that `service-@gcp-sa-
2156
+ # retail.iam.gserviceaccount.com` has the `pubsub.topics.publish` IAM permission
2157
+ # on the topic.
2099
2158
  # Corresponds to the JSON property `notificationPubsubTopic`
2100
2159
  # @return [String]
2101
2160
  attr_accessor :notification_pubsub_topic
@@ -2557,8 +2616,8 @@ module Google
2557
2616
  attr_accessor :data_state
2558
2617
 
2559
2618
  # Required. The display name of the model. Should be human readable, used to
2560
- # display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
2561
- # string with limit of 1024 characters.
2619
+ # display Recommendation Models in the Retail Cloud Cosole Dashboard. UTF-8
2620
+ # encoded string with limit of 1024 characters.
2562
2621
  # Corresponds to the JSON property `displayName`
2563
2622
  # @return [String]
2564
2623
  attr_accessor :display_name
@@ -3180,7 +3239,7 @@ module Google
3180
3239
 
3181
3240
  # The id of the collection members when type is Type.COLLECTION. Non-existent
3182
3241
  # product ids are allowed. The type of the members must be either Type.PRIMARY
3183
- # or Type.VARIANT otherwise and INVALID_ARGUMENT error is thrown. Should not set
3242
+ # or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set
3184
3243
  # it for other types. A maximum of 1000 values are allowed. Otherwise, an
3185
3244
  # INVALID_ARGUMENT error is return.
3186
3245
  # Corresponds to the JSON property `collectionMemberIds`
@@ -4967,6 +5026,13 @@ module Google
4967
5026
  # @return [Array<String>]
4968
5027
  attr_accessor :restricted_values
4969
5028
 
5029
+ # Returns the min and max value for each numerical facet intervals. Ignored for
5030
+ # textual facets.
5031
+ # Corresponds to the JSON property `returnMinMax`
5032
+ # @return [Boolean]
5033
+ attr_accessor :return_min_max
5034
+ alias_method :return_min_max?, :return_min_max
5035
+
4970
5036
  def initialize(**args)
4971
5037
  update!(**args)
4972
5038
  end
@@ -4981,6 +5047,7 @@ module Google
4981
5047
  @prefixes = args[:prefixes] if args.key?(:prefixes)
4982
5048
  @query = args[:query] if args.key?(:query)
4983
5049
  @restricted_values = args[:restricted_values] if args.key?(:restricted_values)
5050
+ @return_min_max = args[:return_min_max] if args.key?(:return_min_max)
4984
5051
  end
4985
5052
  end
4986
5053
 
@@ -5183,6 +5250,18 @@ module Google
5183
5250
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval]
5184
5251
  attr_accessor :interval
5185
5252
 
5253
+ # The maximum value in the FacetValue.interval. Only supported on numerical
5254
+ # facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
5255
+ # Corresponds to the JSON property `maxValue`
5256
+ # @return [Float]
5257
+ attr_accessor :max_value
5258
+
5259
+ # The minimum value in the FacetValue.interval. Only supported on numerical
5260
+ # facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
5261
+ # Corresponds to the JSON property `minValue`
5262
+ # @return [Float]
5263
+ attr_accessor :min_value
5264
+
5186
5265
  # Text value of a facet, such as "Black" for facet "colorFamilies".
5187
5266
  # Corresponds to the JSON property `value`
5188
5267
  # @return [String]
@@ -5196,6 +5275,8 @@ module Google
5196
5275
  def update!(**args)
5197
5276
  @count = args[:count] if args.key?(:count)
5198
5277
  @interval = args[:interval] if args.key?(:interval)
5278
+ @max_value = args[:max_value] if args.key?(:max_value)
5279
+ @min_value = args[:min_value] if args.key?(:min_value)
5199
5280
  @value = args[:value] if args.key?(:value)
5200
5281
  end
5201
5282
  end
@@ -5251,6 +5332,15 @@ module Google
5251
5332
  # @return [Hash<String,String>]
5252
5333
  attr_accessor :matching_variant_fields
5253
5334
 
5335
+ # Specifies previous events related to this product for this user based on
5336
+ # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
5337
+ # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
5338
+ # PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that
5339
+ # this product has been purchased before.
5340
+ # Corresponds to the JSON property `personalLabels`
5341
+ # @return [Array<String>]
5342
+ attr_accessor :personal_labels
5343
+
5254
5344
  # Product captures all metadata information of items to be recommended or
5255
5345
  # searched.
5256
5346
  # Corresponds to the JSON property `product`
@@ -5283,6 +5373,7 @@ module Google
5283
5373
  @id = args[:id] if args.key?(:id)
5284
5374
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
5285
5375
  @matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
5376
+ @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
5286
5377
  @product = args[:product] if args.key?(:product)
5287
5378
  @variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
5288
5379
  end
@@ -5579,6 +5670,32 @@ module Google
5579
5670
  end
5580
5671
  end
5581
5672
 
5673
+ # Metadata related to transform user events operation.
5674
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
5675
+ include Google::Apis::Core::Hashable
5676
+
5677
+ # Count of entries in the source user events BigQuery table.
5678
+ # Corresponds to the JSON property `sourceEventsCount`
5679
+ # @return [Fixnum]
5680
+ attr_accessor :source_events_count
5681
+
5682
+ # Count of entries in the transformed user events BigQuery table, which could be
5683
+ # different from the actually imported number of user events.
5684
+ # Corresponds to the JSON property `transformedEventsCount`
5685
+ # @return [Fixnum]
5686
+ attr_accessor :transformed_events_count
5687
+
5688
+ def initialize(**args)
5689
+ update!(**args)
5690
+ end
5691
+
5692
+ # Update properties of this object
5693
+ def update!(**args)
5694
+ @source_events_count = args[:source_events_count] if args.key?(:source_events_count)
5695
+ @transformed_events_count = args[:transformed_events_count] if args.key?(:transformed_events_count)
5696
+ end
5697
+ end
5698
+
5582
5699
  # Metadata associated with a tune operation.
5583
5700
  class GoogleCloudRetailV2alphaTuneModelMetadata
5584
5701
  include Google::Apis::Core::Hashable
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220722"
25
+ REVISION = "20220729"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,18 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class GoogleCloudRetailV2alphaBigQueryOutputResult
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -898,6 +910,12 @@ module Google
898
910
  include Google::Apis::Core::JsonObjectSupport
899
911
  end
900
912
 
913
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
901
919
  class GoogleCloudRetailV2alphaTuneModelMetadata
902
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
921
 
@@ -1422,6 +1440,21 @@ module Google
1422
1440
  end
1423
1441
  end
1424
1442
 
1443
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ collection :attribute_keys, as: 'attributeKeys'
1447
+ end
1448
+ end
1449
+
1450
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ collection :deleted_catalog_attributes, as: 'deletedCatalogAttributes'
1454
+ collection :reset_catalog_attributes, as: 'resetCatalogAttributes'
1455
+ end
1456
+ end
1457
+
1425
1458
  class GoogleCloudRetailV2alphaBigQueryOutputResult
1426
1459
  # @private
1427
1460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1459,6 +1492,7 @@ module Google
1459
1492
  # @private
1460
1493
  class Representation < Google::Apis::Core::JsonRepresentation
1461
1494
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1495
+ property :exact_searchable_option, as: 'exactSearchableOption'
1462
1496
  property :in_use, as: 'inUse'
1463
1497
  property :indexable_option, as: 'indexableOption'
1464
1498
  property :key, as: 'key'
@@ -1702,6 +1736,8 @@ module Google
1702
1736
  property :notification_pubsub_topic, as: 'notificationPubsubTopic'
1703
1737
  property :request_id, as: 'requestId'
1704
1738
  property :success_count, :numeric_string => true, as: 'successCount'
1739
+ property :transformed_user_events_metadata, as: 'transformedUserEventsMetadata', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata::Representation
1740
+
1705
1741
  property :update_time, as: 'updateTime'
1706
1742
  end
1707
1743
  end
@@ -2388,6 +2424,7 @@ module Google
2388
2424
  collection :prefixes, as: 'prefixes'
2389
2425
  property :query, as: 'query'
2390
2426
  collection :restricted_values, as: 'restrictedValues'
2427
+ property :return_min_max, as: 'returnMinMax'
2391
2428
  end
2392
2429
  end
2393
2430
 
@@ -2449,6 +2486,8 @@ module Google
2449
2486
  property :count, :numeric_string => true, as: 'count'
2450
2487
  property :interval, as: 'interval', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
2451
2488
 
2489
+ property :max_value, as: 'maxValue'
2490
+ property :min_value, as: 'minValue'
2452
2491
  property :value, as: 'value'
2453
2492
  end
2454
2493
  end
@@ -2467,6 +2506,7 @@ module Google
2467
2506
  property :id, as: 'id'
2468
2507
  property :matching_variant_count, as: 'matchingVariantCount'
2469
2508
  hash :matching_variant_fields, as: 'matchingVariantFields'
2509
+ collection :personal_labels, as: 'personalLabels'
2470
2510
  property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
2471
2511
 
2472
2512
  hash :variant_rollup_values, as: 'variantRollupValues'
@@ -2529,6 +2569,14 @@ module Google
2529
2569
  end
2530
2570
  end
2531
2571
 
2572
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
2573
+ # @private
2574
+ class Representation < Google::Apis::Core::JsonRepresentation
2575
+ property :source_events_count, :numeric_string => true, as: 'sourceEventsCount'
2576
+ property :transformed_events_count, :numeric_string => true, as: 'transformedEventsCount'
2577
+ end
2578
+ end
2579
+
2532
2580
  class GoogleCloudRetailV2alphaTuneModelMetadata
2533
2581
  # @private
2534
2582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -472,6 +472,41 @@ module Google
472
472
  execute_or_queue_command(command, &block)
473
473
  end
474
474
 
475
+ # Removes all specified CatalogAttributes from the AttributesConfig.
476
+ # @param [String] attributes_config
477
+ # Required. The attributes config resource shared by all catalog attributes
478
+ # being deleted. Format: `projects/`project_number`/locations/`location_id`/
479
+ # catalogs/`catalog_id`/attributesConfig`
480
+ # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest] google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object
481
+ # @param [String] fields
482
+ # Selector specifying which fields to include in a partial response.
483
+ # @param [String] quota_user
484
+ # Available to use for quota purposes for server-side applications. Can be any
485
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
486
+ # @param [Google::Apis::RequestOptions] options
487
+ # Request-specific options
488
+ #
489
+ # @yield [result, err] Result & error if block supplied
490
+ # @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse] parsed result object
491
+ # @yieldparam err [StandardError] error object if request failed
492
+ #
493
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse]
494
+ #
495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
498
+ def batch_project_location_catalog_attributes_config_remove_catalog_attributes(attributes_config, google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
499
+ command = make_simple_command(:post, 'v2alpha/{+attributesConfig}:batchRemoveCatalogAttributes', options)
500
+ command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest::Representation
501
+ command.request_object = google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object
502
+ command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse::Representation
503
+ command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
504
+ command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
505
+ command.query['fields'] = fields unless fields.nil?
506
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
507
+ execute_or_queue_command(command, &block)
508
+ end
509
+
475
510
  # Removes the specified CatalogAttribute from the AttributesConfig. If the
476
511
  # CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
477
512
  # @param [String] attributes_config
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.50.0
4
+ version: 0.51.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.51.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: []