google-apis-retail_v2beta 0.28.0 → 0.31.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa8d39872d8c1e80a88cc41715eda8d418569db52971e5c43bbf65269e4cbd0
|
4
|
+
data.tar.gz: ce3a9467abde4b9e141412b624d3129fad4b22bca5b4f93021c092e2a504cd69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac8bb8fd515cb5d87f4db15476315dea3a6f5895dfefef08511cb02e61bdf3d9d47237429b091b3284fca314a5af4454f483687bd86d385edb148d942abbddad
|
7
|
+
data.tar.gz: 4a4cee9019d44b7f902be1d787fd89b46443bb14b2bb7303ef5fb56d753df67023de50b5ece967ecd08b5c42ccdbc1dee6ed395e4c3a37c0a8d104a15c80fbd9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.31.0 (2022-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220303
|
6
|
+
|
7
|
+
### v0.30.0 (2022-03-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220224
|
10
|
+
|
11
|
+
### v0.29.0 (2022-02-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220217
|
14
|
+
|
3
15
|
### v0.28.0 (2022-02-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220210
|
@@ -333,9 +333,9 @@ module Google
|
|
333
333
|
class GoogleCloudRetailV2ImportErrorsConfig
|
334
334
|
include Google::Apis::Core::Hashable
|
335
335
|
|
336
|
-
# Google Cloud Storage
|
337
|
-
# Cloud Storage
|
338
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
336
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
337
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
338
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
339
339
|
# Corresponds to the JSON property `gcsPrefix`
|
340
340
|
# @return [String]
|
341
341
|
attr_accessor :gcs_prefix
|
@@ -803,9 +803,9 @@ module Google
|
|
803
803
|
class GoogleCloudRetailV2alphaImportErrorsConfig
|
804
804
|
include Google::Apis::Core::Hashable
|
805
805
|
|
806
|
-
# Google Cloud Storage
|
807
|
-
# Cloud Storage
|
808
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
806
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
807
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
808
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
809
809
|
# Corresponds to the JSON property `gcsPrefix`
|
810
810
|
# @return [String]
|
811
811
|
attr_accessor :gcs_prefix
|
@@ -1117,6 +1117,26 @@ module Google
|
|
1117
1117
|
end
|
1118
1118
|
end
|
1119
1119
|
|
1120
|
+
# Request for CatalogService.AddCatalogAttribute method.
|
1121
|
+
class GoogleCloudRetailV2betaAddCatalogAttributeRequest
|
1122
|
+
include Google::Apis::Core::Hashable
|
1123
|
+
|
1124
|
+
# Catalog level attribute config for an attribute. For example, if customers
|
1125
|
+
# want to enable/disable facet for a specific attribute.
|
1126
|
+
# Corresponds to the JSON property `catalogAttribute`
|
1127
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute]
|
1128
|
+
attr_accessor :catalog_attribute
|
1129
|
+
|
1130
|
+
def initialize(**args)
|
1131
|
+
update!(**args)
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
# Update properties of this object
|
1135
|
+
def update!(**args)
|
1136
|
+
@catalog_attribute = args[:catalog_attribute] if args.key?(:catalog_attribute)
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1120
1140
|
# Request for AddControl method.
|
1121
1141
|
class GoogleCloudRetailV2betaAddControlRequest
|
1122
1142
|
include Google::Apis::Core::Hashable
|
@@ -1222,6 +1242,42 @@ module Google
|
|
1222
1242
|
end
|
1223
1243
|
end
|
1224
1244
|
|
1245
|
+
# Catalog level attribute config.
|
1246
|
+
class GoogleCloudRetailV2betaAttributesConfig
|
1247
|
+
include Google::Apis::Core::Hashable
|
1248
|
+
|
1249
|
+
# Output only. The AttributeConfigLevel used for this catalog.
|
1250
|
+
# Corresponds to the JSON property `attributeConfigLevel`
|
1251
|
+
# @return [String]
|
1252
|
+
attr_accessor :attribute_config_level
|
1253
|
+
|
1254
|
+
# Enable attribute(s) config at catalog level. For example, indexable,
|
1255
|
+
# dynamic_facetable, or searchable for each attribute. The key is catalog
|
1256
|
+
# attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`
|
1257
|
+
# , such as `attributes.xyz`. The maximum number of catalog attributes allowed
|
1258
|
+
# in a request is 1000.
|
1259
|
+
# Corresponds to the JSON property `catalogAttributes`
|
1260
|
+
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute>]
|
1261
|
+
attr_accessor :catalog_attributes
|
1262
|
+
|
1263
|
+
# Required. Immutable. The fully qualified resource name of the attribute config.
|
1264
|
+
# Format: "projects/*/locations/*/catalogs/*/attributesConfig"
|
1265
|
+
# Corresponds to the JSON property `name`
|
1266
|
+
# @return [String]
|
1267
|
+
attr_accessor :name
|
1268
|
+
|
1269
|
+
def initialize(**args)
|
1270
|
+
update!(**args)
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# Update properties of this object
|
1274
|
+
def update!(**args)
|
1275
|
+
@attribute_config_level = args[:attribute_config_level] if args.key?(:attribute_config_level)
|
1276
|
+
@catalog_attributes = args[:catalog_attributes] if args.key?(:catalog_attributes)
|
1277
|
+
@name = args[:name] if args.key?(:name)
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1225
1281
|
# An intended audience of the Product for whom it's sold.
|
1226
1282
|
class GoogleCloudRetailV2betaAudience
|
1227
1283
|
include Google::Apis::Core::Hashable
|
@@ -1295,11 +1351,11 @@ module Google
|
|
1295
1351
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1296
1352
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1297
1353
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
1298
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
1299
|
-
# and day, with a zero year (
|
1300
|
-
# zero month and a zero day * A year and month, with a zero day (
|
1301
|
-
# card expiration date) Related types: * google.type.
|
1302
|
-
# DateTime * google.protobuf.Timestamp
|
1354
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
1355
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
1356
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
1357
|
+
# example, a credit card expiration date). Related types: * google.type.
|
1358
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1303
1359
|
# Corresponds to the JSON property `partitionDate`
|
1304
1360
|
# @return [Google::Apis::RetailV2beta::GoogleTypeDate]
|
1305
1361
|
attr_accessor :partition_date
|
@@ -1366,6 +1422,75 @@ module Google
|
|
1366
1422
|
end
|
1367
1423
|
end
|
1368
1424
|
|
1425
|
+
# Catalog level attribute config for an attribute. For example, if customers
|
1426
|
+
# want to enable/disable facet for a specific attribute.
|
1427
|
+
class GoogleCloudRetailV2betaCatalogAttribute
|
1428
|
+
include Google::Apis::Core::Hashable
|
1429
|
+
|
1430
|
+
# If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet.
|
1431
|
+
# Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option
|
1432
|
+
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned.
|
1433
|
+
# Corresponds to the JSON property `dynamicFacetableOption`
|
1434
|
+
# @return [String]
|
1435
|
+
attr_accessor :dynamic_facetable_option
|
1436
|
+
|
1437
|
+
# Output only. Indicates whether this attribute has been used by any products. `
|
1438
|
+
# True` if at least one Product is using this attribute in Product.attributes.
|
1439
|
+
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
1440
|
+
# AddCatalogAttribute, ImportCatalogAttributes, or UpdateAttributesConfig APIs.
|
1441
|
+
# This field is `False` for pre-loaded CatalogAttributes. Only CatalogAttributes
|
1442
|
+
# that are not in use by products can be deleted. CatalogAttributes that are in
|
1443
|
+
# use by products cannot be deleted; however, their configuration properties
|
1444
|
+
# will reset to default values upon removal request. After catalog changes, it
|
1445
|
+
# takes about 10 minutes for this field to update.
|
1446
|
+
# Corresponds to the JSON property `inUse`
|
1447
|
+
# @return [Boolean]
|
1448
|
+
attr_accessor :in_use
|
1449
|
+
alias_method :in_use?, :in_use
|
1450
|
+
|
1451
|
+
# When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
|
1452
|
+
# if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered,
|
1453
|
+
# faceted, or boosted in SearchService.Search.
|
1454
|
+
# Corresponds to the JSON property `indexableOption`
|
1455
|
+
# @return [String]
|
1456
|
+
attr_accessor :indexable_option
|
1457
|
+
|
1458
|
+
# Required. Attribute name. For example: `color`, `brands`, `attributes.
|
1459
|
+
# custom_attribute`, such as `attributes.xyz`.
|
1460
|
+
# Corresponds to the JSON property `key`
|
1461
|
+
# @return [String]
|
1462
|
+
attr_accessor :key
|
1463
|
+
|
1464
|
+
# When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
|
1465
|
+
# if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
|
1466
|
+
# SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
|
1467
|
+
# attribute values will not be searchable by text queries in SearchService.
|
1468
|
+
# Search, as there are no text values associated to numerical attributes.
|
1469
|
+
# Corresponds to the JSON property `searchableOption`
|
1470
|
+
# @return [String]
|
1471
|
+
attr_accessor :searchable_option
|
1472
|
+
|
1473
|
+
# Output only. The type of this attribute. This is derived from the attribute in
|
1474
|
+
# Product.attributes.
|
1475
|
+
# Corresponds to the JSON property `type`
|
1476
|
+
# @return [String]
|
1477
|
+
attr_accessor :type
|
1478
|
+
|
1479
|
+
def initialize(**args)
|
1480
|
+
update!(**args)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
# Update properties of this object
|
1484
|
+
def update!(**args)
|
1485
|
+
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
1486
|
+
@in_use = args[:in_use] if args.key?(:in_use)
|
1487
|
+
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
1488
|
+
@key = args[:key] if args.key?(:key)
|
1489
|
+
@searchable_option = args[:searchable_option] if args.key?(:searchable_option)
|
1490
|
+
@type = args[:type] if args.key?(:type)
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
|
1369
1494
|
# The color information of a Product.
|
1370
1495
|
class GoogleCloudRetailV2betaColorInfo
|
1371
1496
|
include Google::Apis::Core::Hashable
|
@@ -1671,7 +1796,8 @@ module Google
|
|
1671
1796
|
|
1672
1797
|
# Required. Immutable. The solution types that the serving config is used for.
|
1673
1798
|
# Currently we support setting only one type of solution at creation time. Only `
|
1674
|
-
# SOLUTION_TYPE_SEARCH` value is supported at the moment.
|
1799
|
+
# SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is
|
1800
|
+
# provided at creation time, will default to SOLUTION_TYPE_SEARCH.
|
1675
1801
|
# Corresponds to the JSON property `solutionTypes`
|
1676
1802
|
# @return [Array<String>]
|
1677
1803
|
attr_accessor :solution_types
|
@@ -1724,8 +1850,9 @@ module Google
|
|
1724
1850
|
alias_method :searchable?, :searchable
|
1725
1851
|
|
1726
1852
|
# The textual values of this custom attribute. For example, `["yellow", "green"]`
|
1727
|
-
# when the key is "color".
|
1728
|
-
#
|
1853
|
+
# when the key is "color". Empty string is not allowed. Otherwise, an
|
1854
|
+
# INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be
|
1855
|
+
# set. Otherwise, an INVALID_ARGUMENT error is returned.
|
1729
1856
|
# Corresponds to the JSON property `text`
|
1730
1857
|
# @return [Array<String>]
|
1731
1858
|
attr_accessor :text
|
@@ -2043,9 +2170,9 @@ module Google
|
|
2043
2170
|
class GoogleCloudRetailV2betaImportErrorsConfig
|
2044
2171
|
include Google::Apis::Core::Hashable
|
2045
2172
|
|
2046
|
-
# Google Cloud Storage
|
2047
|
-
# Cloud Storage
|
2048
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
2173
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
2174
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
2175
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
2049
2176
|
# Corresponds to the JSON property `gcsPrefix`
|
2050
2177
|
# @return [String]
|
2051
2178
|
attr_accessor :gcs_prefix
|
@@ -2688,9 +2815,9 @@ module Google
|
|
2688
2815
|
# be a UTF-8 encoded string with a length limit of 128 characters. * For
|
2689
2816
|
# indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
|
2690
2817
|
# `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400
|
2691
|
-
# values are allowed. Empty values are not allowed. Each value must be a
|
2692
|
-
# encoded string with a length limit of 256 characters. * For number
|
2693
|
-
# at most 400 values are allowed.
|
2818
|
+
# values are allowed. Empty values are not allowed. Each value must be a non-
|
2819
|
+
# empty UTF-8 encoded string with a length limit of 256 characters. * For number
|
2820
|
+
# attributes, at most 400 values are allowed.
|
2694
2821
|
# Corresponds to the JSON property `attributes`
|
2695
2822
|
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
|
2696
2823
|
attr_accessor :attributes
|
@@ -3399,6 +3526,25 @@ module Google
|
|
3399
3526
|
end
|
3400
3527
|
end
|
3401
3528
|
|
3529
|
+
# Request for CatalogService.RemoveCatalogAttribute method.
|
3530
|
+
class GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
|
3531
|
+
include Google::Apis::Core::Hashable
|
3532
|
+
|
3533
|
+
# Required. The attribute name key of the CatalogAttribute to remove.
|
3534
|
+
# Corresponds to the JSON property `key`
|
3535
|
+
# @return [String]
|
3536
|
+
attr_accessor :key
|
3537
|
+
|
3538
|
+
def initialize(**args)
|
3539
|
+
update!(**args)
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
# Update properties of this object
|
3543
|
+
def update!(**args)
|
3544
|
+
@key = args[:key] if args.key?(:key)
|
3545
|
+
end
|
3546
|
+
end
|
3547
|
+
|
3402
3548
|
# Request for RemoveControl method.
|
3403
3549
|
class GoogleCloudRetailV2betaRemoveControlRequest
|
3404
3550
|
include Google::Apis::Core::Hashable
|
@@ -3502,6 +3648,34 @@ module Google
|
|
3502
3648
|
end
|
3503
3649
|
end
|
3504
3650
|
|
3651
|
+
# Request for CatalogService.ReplaceCatalogAttribute method.
|
3652
|
+
class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
|
3653
|
+
include Google::Apis::Core::Hashable
|
3654
|
+
|
3655
|
+
# Catalog level attribute config for an attribute. For example, if customers
|
3656
|
+
# want to enable/disable facet for a specific attribute.
|
3657
|
+
# Corresponds to the JSON property `catalogAttribute`
|
3658
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute]
|
3659
|
+
attr_accessor :catalog_attribute
|
3660
|
+
|
3661
|
+
# Indicates which fields in the provided CatalogAttribute to update. The
|
3662
|
+
# following are NOT supported: * CatalogAttribute.key If not set, all supported
|
3663
|
+
# fields are updated.
|
3664
|
+
# Corresponds to the JSON property `updateMask`
|
3665
|
+
# @return [String]
|
3666
|
+
attr_accessor :update_mask
|
3667
|
+
|
3668
|
+
def initialize(**args)
|
3669
|
+
update!(**args)
|
3670
|
+
end
|
3671
|
+
|
3672
|
+
# Update properties of this object
|
3673
|
+
def update!(**args)
|
3674
|
+
@catalog_attribute = args[:catalog_attribute] if args.key?(:catalog_attribute)
|
3675
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
3676
|
+
end
|
3677
|
+
end
|
3678
|
+
|
3505
3679
|
# A rule is a condition-action pair * A condition defines when a rule is to be
|
3506
3680
|
# triggered. * An action specifies what occurs on that trigger. Currently only
|
3507
3681
|
# boost rules are supported. Currently only supported by the search endpoint.
|
@@ -4553,7 +4727,7 @@ module Google
|
|
4553
4727
|
|
4554
4728
|
# Condition boost specifications. If a product matches multiple conditions in
|
4555
4729
|
# the specifications, boost scores from these specifications are all applied and
|
4556
|
-
# combined in a non-linear way. Maximum number of specifications is
|
4730
|
+
# combined in a non-linear way. Maximum number of specifications is 100. Notice
|
4557
4731
|
# that if both ServingConfig.boost_control_ids and [SearchRequest.boost_spec]
|
4558
4732
|
# are set, the boost conditions from both places are evaluated. If a search
|
4559
4733
|
# request matches multiple boost conditions, the final boost score is equal to
|
@@ -4667,7 +4841,7 @@ module Google
|
|
4667
4841
|
attr_accessor :price_reranking_level
|
4668
4842
|
|
4669
4843
|
# Condition redirect specifications. Only the first triggered redirect action is
|
4670
|
-
# applied, even if multiple apply. Maximum number of specifications is
|
4844
|
+
# applied, even if multiple apply. Maximum number of specifications is 1000. Can
|
4671
4845
|
# only be set if solution_types is SOLUTION_TYPE_SEARCH.
|
4672
4846
|
# Corresponds to the JSON property `redirectControlIds`
|
4673
4847
|
# @return [Array<String>]
|
@@ -4726,11 +4900,20 @@ module Google
|
|
4726
4900
|
include Google::Apis::Core::Hashable
|
4727
4901
|
|
4728
4902
|
# The final component of the resource name of a branch. This field must be one
|
4729
|
-
# of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned.
|
4903
|
+
# of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned. If there
|
4904
|
+
# are no sufficient active products in the targeted branch and force is not set,
|
4905
|
+
# a FAILED_PRECONDITION error is returned.
|
4730
4906
|
# Corresponds to the JSON property `branchId`
|
4731
4907
|
# @return [String]
|
4732
4908
|
attr_accessor :branch_id
|
4733
4909
|
|
4910
|
+
# If set to true, it permits switching to a branch with branch_id even if it has
|
4911
|
+
# no sufficient active products.
|
4912
|
+
# Corresponds to the JSON property `force`
|
4913
|
+
# @return [Boolean]
|
4914
|
+
attr_accessor :force
|
4915
|
+
alias_method :force?, :force
|
4916
|
+
|
4734
4917
|
# Some note on this request, this can be retrieved by CatalogService.
|
4735
4918
|
# GetDefaultBranch before next valid default branch set occurs. This field must
|
4736
4919
|
# be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise,
|
@@ -4746,6 +4929,7 @@ module Google
|
|
4746
4929
|
# Update properties of this object
|
4747
4930
|
def update!(**args)
|
4748
4931
|
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
4932
|
+
@force = args[:force] if args.key?(:force)
|
4749
4933
|
@note = args[:note] if args.key?(:note)
|
4750
4934
|
end
|
4751
4935
|
end
|
@@ -5323,11 +5507,11 @@ module Google
|
|
5323
5507
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5324
5508
|
# day and time zone are either specified elsewhere or are insignificant. The
|
5325
5509
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
5326
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
5327
|
-
# and day, with a zero year (
|
5328
|
-
# zero month and a zero day * A year and month, with a zero day (
|
5329
|
-
# card expiration date) Related types: * google.type.
|
5330
|
-
# DateTime * google.protobuf.Timestamp
|
5510
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5511
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5512
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5513
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5514
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5331
5515
|
class GoogleTypeDate
|
5332
5516
|
include Google::Apis::Core::Hashable
|
5333
5517
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.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 = "
|
25
|
+
REVISION = "20220303"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -304,6 +304,12 @@ module Google
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
305
305
|
end
|
306
306
|
|
307
|
+
class GoogleCloudRetailV2betaAddCatalogAttributeRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
307
313
|
class GoogleCloudRetailV2betaAddControlRequest
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
315
|
|
@@ -328,6 +334,12 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class GoogleCloudRetailV2betaAttributesConfig
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
331
343
|
class GoogleCloudRetailV2betaAudience
|
332
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
345
|
|
@@ -346,6 +358,12 @@ module Google
|
|
346
358
|
include Google::Apis::Core::JsonObjectSupport
|
347
359
|
end
|
348
360
|
|
361
|
+
class GoogleCloudRetailV2betaCatalogAttribute
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
349
367
|
class GoogleCloudRetailV2betaColorInfo
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
369
|
|
@@ -652,6 +670,12 @@ module Google
|
|
652
670
|
include Google::Apis::Core::JsonObjectSupport
|
653
671
|
end
|
654
672
|
|
673
|
+
class GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
655
679
|
class GoogleCloudRetailV2betaRemoveControlRequest
|
656
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
681
|
|
@@ -676,6 +700,12 @@ module Google
|
|
676
700
|
include Google::Apis::Core::JsonObjectSupport
|
677
701
|
end
|
678
702
|
|
703
|
+
class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
679
709
|
class GoogleCloudRetailV2betaRule
|
680
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
711
|
|
@@ -1264,6 +1294,14 @@ module Google
|
|
1264
1294
|
end
|
1265
1295
|
end
|
1266
1296
|
|
1297
|
+
class GoogleCloudRetailV2betaAddCatalogAttributeRequest
|
1298
|
+
# @private
|
1299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1300
|
+
property :catalog_attribute, as: 'catalogAttribute', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute::Representation
|
1301
|
+
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1267
1305
|
class GoogleCloudRetailV2betaAddControlRequest
|
1268
1306
|
# @private
|
1269
1307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1293,6 +1331,16 @@ module Google
|
|
1293
1331
|
end
|
1294
1332
|
end
|
1295
1333
|
|
1334
|
+
class GoogleCloudRetailV2betaAttributesConfig
|
1335
|
+
# @private
|
1336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1337
|
+
property :attribute_config_level, as: 'attributeConfigLevel'
|
1338
|
+
hash :catalog_attributes, as: 'catalogAttributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute::Representation
|
1339
|
+
|
1340
|
+
property :name, as: 'name'
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1296
1344
|
class GoogleCloudRetailV2betaAudience
|
1297
1345
|
# @private
|
1298
1346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1324,6 +1372,18 @@ module Google
|
|
1324
1372
|
end
|
1325
1373
|
end
|
1326
1374
|
|
1375
|
+
class GoogleCloudRetailV2betaCatalogAttribute
|
1376
|
+
# @private
|
1377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1378
|
+
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1379
|
+
property :in_use, as: 'inUse'
|
1380
|
+
property :indexable_option, as: 'indexableOption'
|
1381
|
+
property :key, as: 'key'
|
1382
|
+
property :searchable_option, as: 'searchableOption'
|
1383
|
+
property :type, as: 'type'
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
|
1327
1387
|
class GoogleCloudRetailV2betaColorInfo
|
1328
1388
|
# @private
|
1329
1389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1833,6 +1893,13 @@ module Google
|
|
1833
1893
|
end
|
1834
1894
|
end
|
1835
1895
|
|
1896
|
+
class GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
|
1897
|
+
# @private
|
1898
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1899
|
+
property :key, as: 'key'
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
|
1836
1903
|
class GoogleCloudRetailV2betaRemoveControlRequest
|
1837
1904
|
# @private
|
1838
1905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1862,6 +1929,15 @@ module Google
|
|
1862
1929
|
end
|
1863
1930
|
end
|
1864
1931
|
|
1932
|
+
class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
|
1933
|
+
# @private
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1935
|
+
property :catalog_attribute, as: 'catalogAttribute', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute::Representation
|
1936
|
+
|
1937
|
+
property :update_mask, as: 'updateMask'
|
1938
|
+
end
|
1939
|
+
end
|
1940
|
+
|
1865
1941
|
class GoogleCloudRetailV2betaRule
|
1866
1942
|
# @private
|
1867
1943
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2131,6 +2207,7 @@ module Google
|
|
2131
2207
|
# @private
|
2132
2208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2133
2209
|
property :branch_id, as: 'branchId'
|
2210
|
+
property :force, as: 'force'
|
2134
2211
|
property :note, as: 'note'
|
2135
2212
|
end
|
2136
2213
|
end
|
@@ -72,10 +72,12 @@ module Google
|
|
72
72
|
# `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
|
73
73
|
# `OTHER_`, e.g. `OTHER_IPHONE`.
|
74
74
|
# @param [Array<String>, String] language_codes
|
75
|
-
# The
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
75
|
+
# The language filters applied to the output suggestions. If set, it should
|
76
|
+
# contain the language of the query. If not set, suggestions are returned
|
77
|
+
# without considering language restrictions. This is the BCP-47 language code,
|
78
|
+
# such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying
|
79
|
+
# Languages](https://tools.ietf.org/html/bcp47). The maximum number of language
|
80
|
+
# codes is 3.
|
79
81
|
# @param [Fixnum] max_suggestions
|
80
82
|
# Completion max suggestions. If left unset or set to 0, then will fallback to
|
81
83
|
# the configured value CompletionConfig.max_suggestions. The maximum allowed max
|
@@ -123,6 +125,37 @@ module Google
|
|
123
125
|
execute_or_queue_command(command, &block)
|
124
126
|
end
|
125
127
|
|
128
|
+
# Gets an AttributesConfig.
|
129
|
+
# @param [String] name
|
130
|
+
# Required. Full AttributesConfig resource name. Format: projects/`
|
131
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
132
|
+
# @param [String] fields
|
133
|
+
# Selector specifying which fields to include in a partial response.
|
134
|
+
# @param [String] quota_user
|
135
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
136
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
137
|
+
# @param [Google::Apis::RequestOptions] options
|
138
|
+
# Request-specific options
|
139
|
+
#
|
140
|
+
# @yield [result, err] Result & error if block supplied
|
141
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] parsed result object
|
142
|
+
# @yieldparam err [StandardError] error object if request failed
|
143
|
+
#
|
144
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig]
|
145
|
+
#
|
146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
|
+
def get_project_location_catalog_attributes_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
150
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
151
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
152
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig
|
153
|
+
command.params['name'] = name unless name.nil?
|
154
|
+
command.query['fields'] = fields unless fields.nil?
|
155
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
156
|
+
execute_or_queue_command(command, &block)
|
157
|
+
end
|
158
|
+
|
126
159
|
# Get which branch is currently default branch set by CatalogService.
|
127
160
|
# SetDefaultBranch method under a specified parent catalog.
|
128
161
|
# @param [String] catalog
|
@@ -287,6 +320,157 @@ module Google
|
|
287
320
|
execute_or_queue_command(command, &block)
|
288
321
|
end
|
289
322
|
|
323
|
+
# Updates the AttributesConfig. The catalog attributes in the request will be
|
324
|
+
# updated in the catalog, or inserted if they do not exist. Existing catalog
|
325
|
+
# attributes not included in the request will remain unchanged. Attributes that
|
326
|
+
# are assigned to products, but do not exist at the catalog level, are always
|
327
|
+
# included in the response. The product attribute is assigned default values for
|
328
|
+
# missing catalog attribute fields, e.g., searchable and dynamic facetable
|
329
|
+
# options.
|
330
|
+
# @param [String] name
|
331
|
+
# Required. Immutable. The fully qualified resource name of the attribute config.
|
332
|
+
# Format: "projects/*/locations/*/catalogs/*/attributesConfig"
|
333
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] google_cloud_retail_v2beta_attributes_config_object
|
334
|
+
# @param [String] update_mask
|
335
|
+
# Indicates which fields in the provided AttributesConfig to update. The
|
336
|
+
# following is the only supported field: * AttributesConfig.catalog_attributes
|
337
|
+
# If not set, all supported fields are updated.
|
338
|
+
# @param [String] fields
|
339
|
+
# Selector specifying which fields to include in a partial response.
|
340
|
+
# @param [String] quota_user
|
341
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
342
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
343
|
+
# @param [Google::Apis::RequestOptions] options
|
344
|
+
# Request-specific options
|
345
|
+
#
|
346
|
+
# @yield [result, err] Result & error if block supplied
|
347
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] parsed result object
|
348
|
+
# @yieldparam err [StandardError] error object if request failed
|
349
|
+
#
|
350
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig]
|
351
|
+
#
|
352
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
353
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
354
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
355
|
+
def update_project_location_catalog_attributes_config(name, google_cloud_retail_v2beta_attributes_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
356
|
+
command = make_simple_command(:patch, 'v2beta/{+name}', options)
|
357
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
358
|
+
command.request_object = google_cloud_retail_v2beta_attributes_config_object
|
359
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
360
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig
|
361
|
+
command.params['name'] = name unless name.nil?
|
362
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
363
|
+
command.query['fields'] = fields unless fields.nil?
|
364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
365
|
+
execute_or_queue_command(command, &block)
|
366
|
+
end
|
367
|
+
|
368
|
+
# Adds the specified CatalogAttribute to the AttributesConfig. If the
|
369
|
+
# CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
|
370
|
+
# @param [String] attributes_config
|
371
|
+
# Required. Full AttributesConfig resource name. Format: projects/`
|
372
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
373
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAddCatalogAttributeRequest] google_cloud_retail_v2beta_add_catalog_attribute_request_object
|
374
|
+
# @param [String] fields
|
375
|
+
# Selector specifying which fields to include in a partial response.
|
376
|
+
# @param [String] quota_user
|
377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
379
|
+
# @param [Google::Apis::RequestOptions] options
|
380
|
+
# Request-specific options
|
381
|
+
#
|
382
|
+
# @yield [result, err] Result & error if block supplied
|
383
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] parsed result object
|
384
|
+
# @yieldparam err [StandardError] error object if request failed
|
385
|
+
#
|
386
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig]
|
387
|
+
#
|
388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
391
|
+
def add_project_location_catalog_attributes_config_catalog_attribute(attributes_config, google_cloud_retail_v2beta_add_catalog_attribute_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
392
|
+
command = make_simple_command(:post, 'v2beta/{+attributesConfig}:addCatalogAttribute', options)
|
393
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAddCatalogAttributeRequest::Representation
|
394
|
+
command.request_object = google_cloud_retail_v2beta_add_catalog_attribute_request_object
|
395
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
396
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig
|
397
|
+
command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
|
398
|
+
command.query['fields'] = fields unless fields.nil?
|
399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
400
|
+
execute_or_queue_command(command, &block)
|
401
|
+
end
|
402
|
+
|
403
|
+
# Removes the specified CatalogAttribute from the AttributesConfig. If the
|
404
|
+
# CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
|
405
|
+
# @param [String] attributes_config
|
406
|
+
# Required. Full AttributesConfig resource name. Format: projects/`
|
407
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
408
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRemoveCatalogAttributeRequest] google_cloud_retail_v2beta_remove_catalog_attribute_request_object
|
409
|
+
# @param [String] fields
|
410
|
+
# Selector specifying which fields to include in a partial response.
|
411
|
+
# @param [String] quota_user
|
412
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
413
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
414
|
+
# @param [Google::Apis::RequestOptions] options
|
415
|
+
# Request-specific options
|
416
|
+
#
|
417
|
+
# @yield [result, err] Result & error if block supplied
|
418
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] parsed result object
|
419
|
+
# @yieldparam err [StandardError] error object if request failed
|
420
|
+
#
|
421
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig]
|
422
|
+
#
|
423
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
424
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
425
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
426
|
+
def remove_project_location_catalog_attributes_config_catalog_attribute(attributes_config, google_cloud_retail_v2beta_remove_catalog_attribute_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
427
|
+
command = make_simple_command(:post, 'v2beta/{+attributesConfig}:removeCatalogAttribute', options)
|
428
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRemoveCatalogAttributeRequest::Representation
|
429
|
+
command.request_object = google_cloud_retail_v2beta_remove_catalog_attribute_request_object
|
430
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
431
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig
|
432
|
+
command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
|
433
|
+
command.query['fields'] = fields unless fields.nil?
|
434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
435
|
+
execute_or_queue_command(command, &block)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Replaces the specified CatalogAttribute in the AttributesConfig by updating
|
439
|
+
# the catalog attribute with the same CatalogAttribute.key. If the
|
440
|
+
# CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.
|
441
|
+
# @param [String] attributes_config
|
442
|
+
# Required. Full AttributesConfig resource name. Format: projects/`
|
443
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
444
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaReplaceCatalogAttributeRequest] google_cloud_retail_v2beta_replace_catalog_attribute_request_object
|
445
|
+
# @param [String] fields
|
446
|
+
# Selector specifying which fields to include in a partial response.
|
447
|
+
# @param [String] quota_user
|
448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
450
|
+
# @param [Google::Apis::RequestOptions] options
|
451
|
+
# Request-specific options
|
452
|
+
#
|
453
|
+
# @yield [result, err] Result & error if block supplied
|
454
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] parsed result object
|
455
|
+
# @yieldparam err [StandardError] error object if request failed
|
456
|
+
#
|
457
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig]
|
458
|
+
#
|
459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
+
def replace_project_location_catalog_attributes_config_catalog_attribute(attributes_config, google_cloud_retail_v2beta_replace_catalog_attribute_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
463
|
+
command = make_simple_command(:post, 'v2beta/{+attributesConfig}:replaceCatalogAttribute', options)
|
464
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaReplaceCatalogAttributeRequest::Representation
|
465
|
+
command.request_object = google_cloud_retail_v2beta_replace_catalog_attribute_request_object
|
466
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig::Representation
|
467
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig
|
468
|
+
command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
|
469
|
+
command.query['fields'] = fields unless fields.nil?
|
470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
471
|
+
execute_or_queue_command(command, &block)
|
472
|
+
end
|
473
|
+
|
290
474
|
# Gets the latest state of a long-running operation. Clients can use this method
|
291
475
|
# to poll the operation result at intervals as recommended by the API service.
|
292
476
|
# @param [String] name
|
@@ -682,7 +866,7 @@ module Google
|
|
682
866
|
# CreateProduct or UpdateProduct request. If no inventory fields are set in
|
683
867
|
# CreateProductRequest.product, then any pre-existing inventory information for
|
684
868
|
# this product will be used. If no inventory fields are set in
|
685
|
-
#
|
869
|
+
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
686
870
|
# preserved. Pre-existing inventory information can only be updated with
|
687
871
|
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature
|
688
872
|
# 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_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.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-
|
11
|
+
date: 2022-03-14 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_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|