google-apis-retail_v2alpha 0.84.0 → 0.86.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: 528165472c875a99bf4a7ec4e90cd496d14066233eb1d58a1eb892eab13b7e60
|
4
|
+
data.tar.gz: 9f9f5711a2717e4697a8f6b4c817ffeade1ceb818604a9e996d718c6e084cc3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0315319ad0abd171ad175d48ff13a1b425f3943dfaebbcbab1a47e93a75905c97dafb88651d5a52f8de0a976b5e959da2965eb47050ef58957986de235233dcc'
|
7
|
+
data.tar.gz: 6b05a9cf87b65de032c9dd1bf91050144833e1cf782201e9b4e3370d509a8bbf176ffa7150b761a3c37f93ec551335ef4c4132d1398c4add48b9140f6c218a87
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.86.0 (2023-10-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231005
|
6
|
+
|
7
|
+
### v0.85.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230831
|
10
|
+
|
3
11
|
### v0.84.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230805
|
@@ -1510,6 +1510,12 @@ module Google
|
|
1510
1510
|
# @return [String]
|
1511
1511
|
attr_accessor :exact_searchable_option
|
1512
1512
|
|
1513
|
+
# Possible options for the facet that corresponds to the current attribute
|
1514
|
+
# config.
|
1515
|
+
# Corresponds to the JSON property `facetConfig`
|
1516
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig]
|
1517
|
+
attr_accessor :facet_config
|
1518
|
+
|
1513
1519
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1514
1520
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1515
1521
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -1585,6 +1591,7 @@ module Google
|
|
1585
1591
|
def update!(**args)
|
1586
1592
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
1587
1593
|
@exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
|
1594
|
+
@facet_config = args[:facet_config] if args.key?(:facet_config)
|
1588
1595
|
@in_use = args[:in_use] if args.key?(:in_use)
|
1589
1596
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
1590
1597
|
@key = args[:key] if args.key?(:key)
|
@@ -1595,6 +1602,121 @@ module Google
|
|
1595
1602
|
end
|
1596
1603
|
end
|
1597
1604
|
|
1605
|
+
# Possible options for the facet that corresponds to the current attribute
|
1606
|
+
# config.
|
1607
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
|
1608
|
+
include Google::Apis::Core::Hashable
|
1609
|
+
|
1610
|
+
# If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the
|
1611
|
+
# request to a numerical attribute, then we use the computed intervals with
|
1612
|
+
# rounded bounds obtained from all its product numerical attribute values. The
|
1613
|
+
# computed intervals might not be ideal for some attributes. Therefore, we give
|
1614
|
+
# you the option to overwrite them with the facet_intervals field. The maximum
|
1615
|
+
# of facet intervals per CatalogAttribute is 40. Each interval must have a lower
|
1616
|
+
# bound or an upper bound. If both bounds are provided, then the lower bound
|
1617
|
+
# must be smaller or equal than the upper bound.
|
1618
|
+
# Corresponds to the JSON property `facetIntervals`
|
1619
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
1620
|
+
attr_accessor :facet_intervals
|
1621
|
+
|
1622
|
+
# Each instance represents a list of attribute values to ignore as facet values
|
1623
|
+
# for a specific time range. The maximum number of instances per
|
1624
|
+
# CatalogAttribute is 25.
|
1625
|
+
# Corresponds to the JSON property `ignoredFacetValues`
|
1626
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues>]
|
1627
|
+
attr_accessor :ignored_facet_values
|
1628
|
+
|
1629
|
+
# Each instance replaces a list of facet values by a merged facet value. If a
|
1630
|
+
# facet value is not in any list, then it will stay the same. To avoid conflicts,
|
1631
|
+
# only paths of length 1 are accepted. In other words, if "dark_blue" merged
|
1632
|
+
# into "BLUE", then the latter can't merge into "blues" because this would
|
1633
|
+
# create a path of length 2. The maximum number of instances of MergedFacetValue
|
1634
|
+
# per CatalogAttribute is 100.
|
1635
|
+
# Corresponds to the JSON property `mergedFacetValues`
|
1636
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue>]
|
1637
|
+
attr_accessor :merged_facet_values
|
1638
|
+
|
1639
|
+
def initialize(**args)
|
1640
|
+
update!(**args)
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
# Update properties of this object
|
1644
|
+
def update!(**args)
|
1645
|
+
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
1646
|
+
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
1647
|
+
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
1648
|
+
end
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# Facet values to ignore on facets during the specified time range for the given
|
1652
|
+
# SearchResponse.Facet.key attribute.
|
1653
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
|
1654
|
+
include Google::Apis::Core::Hashable
|
1655
|
+
|
1656
|
+
# If start time is empty and end time is not empty, then ignore these facet
|
1657
|
+
# values before end time.
|
1658
|
+
# Corresponds to the JSON property `endTime`
|
1659
|
+
# @return [String]
|
1660
|
+
attr_accessor :end_time
|
1661
|
+
|
1662
|
+
# Time range for the current list of facet values to ignore. If multiple time
|
1663
|
+
# ranges are specified for an facet value for the current attribute, consider
|
1664
|
+
# all of them. If both are empty, ignore always. If start time and end time are
|
1665
|
+
# set, then start time must be before end time. If start time is not empty and
|
1666
|
+
# end time is empty, then will ignore these facet values after the start time.
|
1667
|
+
# Corresponds to the JSON property `startTime`
|
1668
|
+
# @return [String]
|
1669
|
+
attr_accessor :start_time
|
1670
|
+
|
1671
|
+
# List of facet values to ignore for the following time range. The facet values
|
1672
|
+
# are the same as the attribute values. There is a limit of 10 values per
|
1673
|
+
# instance of IgnoredFacetValues. Each value can have at most 60 characters.
|
1674
|
+
# Corresponds to the JSON property `values`
|
1675
|
+
# @return [Array<String>]
|
1676
|
+
attr_accessor :values
|
1677
|
+
|
1678
|
+
def initialize(**args)
|
1679
|
+
update!(**args)
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# Update properties of this object
|
1683
|
+
def update!(**args)
|
1684
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1685
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1686
|
+
@values = args[:values] if args.key?(:values)
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
# Replaces a set of facet values by the same (possibly different) merged facet
|
1691
|
+
# value. Each facet value should appear at most once as a value per
|
1692
|
+
# CatalogAttribute.
|
1693
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
|
1694
|
+
include Google::Apis::Core::Hashable
|
1695
|
+
|
1696
|
+
# All the previous values are replaced by this merged facet value. This
|
1697
|
+
# merged_value must be non-empty and can have up to 60 characters.
|
1698
|
+
# Corresponds to the JSON property `mergedValue`
|
1699
|
+
# @return [String]
|
1700
|
+
attr_accessor :merged_value
|
1701
|
+
|
1702
|
+
# All the facet values that are replaces by the same merged_value that follows.
|
1703
|
+
# The maximum number of values per MergedFacetValue is 25. Each value can have
|
1704
|
+
# up to 60 characters.
|
1705
|
+
# Corresponds to the JSON property `values`
|
1706
|
+
# @return [Array<String>]
|
1707
|
+
attr_accessor :values
|
1708
|
+
|
1709
|
+
def initialize(**args)
|
1710
|
+
update!(**args)
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# Update properties of this object
|
1714
|
+
def update!(**args)
|
1715
|
+
@merged_value = args[:merged_value] if args.key?(:merged_value)
|
1716
|
+
@values = args[:values] if args.key?(:values)
|
1717
|
+
end
|
1718
|
+
end
|
1719
|
+
|
1598
1720
|
# The color information of a Product.
|
1599
1721
|
class GoogleCloudRetailV2alphaColorInfo
|
1600
1722
|
include Google::Apis::Core::Hashable
|
@@ -1933,6 +2055,12 @@ module Google
|
|
1933
2055
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange>]
|
1934
2056
|
attr_accessor :active_time_range
|
1935
2057
|
|
2058
|
+
# Used to support browse uses cases. A list (up to 10 entries) of categories or
|
2059
|
+
# departments. The format should be the same as UserEvent.page_categories;
|
2060
|
+
# Corresponds to the JSON property `pageCategories`
|
2061
|
+
# @return [Array<String>]
|
2062
|
+
attr_accessor :page_categories
|
2063
|
+
|
1936
2064
|
# A list (up to 10 entries) of terms to match the query on. If not specified,
|
1937
2065
|
# match all queries. If many query terms are specified, the condition is matched
|
1938
2066
|
# if any of the terms is a match (i.e. using the OR operator).
|
@@ -1947,6 +2075,7 @@ module Google
|
|
1947
2075
|
# Update properties of this object
|
1948
2076
|
def update!(**args)
|
1949
2077
|
@active_time_range = args[:active_time_range] if args.key?(:active_time_range)
|
2078
|
+
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
1950
2079
|
@query_terms = args[:query_terms] if args.key?(:query_terms)
|
1951
2080
|
end
|
1952
2081
|
end
|
@@ -3120,6 +3249,98 @@ module Google
|
|
3120
3249
|
end
|
3121
3250
|
end
|
3122
3251
|
|
3252
|
+
# Project level logging config to control what level of log will be generated
|
3253
|
+
# and written to Cloud Logging.
|
3254
|
+
class GoogleCloudRetailV2alphaLoggingConfig
|
3255
|
+
include Google::Apis::Core::Hashable
|
3256
|
+
|
3257
|
+
# The logging configurations for services supporting log generation.
|
3258
|
+
# Corresponds to the JSON property `defaultLogGenerationRule`
|
3259
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule]
|
3260
|
+
attr_accessor :default_log_generation_rule
|
3261
|
+
|
3262
|
+
# Required. Immutable. The name of the LoggingConfig singleton resource. Format:
|
3263
|
+
# projects/*/loggingConfig
|
3264
|
+
# Corresponds to the JSON property `name`
|
3265
|
+
# @return [String]
|
3266
|
+
attr_accessor :name
|
3267
|
+
|
3268
|
+
# Controls logging configurations more granularly for each supported service.
|
3269
|
+
# This overrides the default_log_generation_rule for the services specified. For
|
3270
|
+
# those not mentioned, they will fallback to the default log generation rule.
|
3271
|
+
# Corresponds to the JSON property `serviceLogGenerationRules`
|
3272
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule>]
|
3273
|
+
attr_accessor :service_log_generation_rules
|
3274
|
+
|
3275
|
+
def initialize(**args)
|
3276
|
+
update!(**args)
|
3277
|
+
end
|
3278
|
+
|
3279
|
+
# Update properties of this object
|
3280
|
+
def update!(**args)
|
3281
|
+
@default_log_generation_rule = args[:default_log_generation_rule] if args.key?(:default_log_generation_rule)
|
3282
|
+
@name = args[:name] if args.key?(:name)
|
3283
|
+
@service_log_generation_rules = args[:service_log_generation_rules] if args.key?(:service_log_generation_rules)
|
3284
|
+
end
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
# The logging configurations for services supporting log generation.
|
3288
|
+
class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule
|
3289
|
+
include Google::Apis::Core::Hashable
|
3290
|
+
|
3291
|
+
# The log sample rate for INFO level log entries. You can use this to reduce the
|
3292
|
+
# number of entries generated for INFO level logs. DO NOT set this field if the
|
3293
|
+
# logging_level is not LoggingLevel.LOG_ALL. Otherwise, an INVALID_ARGUMENT
|
3294
|
+
# error is returned. Sample rate for INFO logs defaults to 1 when unset (
|
3295
|
+
# generate and send all INFO logs to Cloud Logging). Its value must be greater
|
3296
|
+
# than 0 and less than or equal to 1.
|
3297
|
+
# Corresponds to the JSON property `infoLogSampleRate`
|
3298
|
+
# @return [Float]
|
3299
|
+
attr_accessor :info_log_sample_rate
|
3300
|
+
|
3301
|
+
# The logging level. By default it is set to `LOG_WARNINGS_AND_ABOVE`.
|
3302
|
+
# Corresponds to the JSON property `loggingLevel`
|
3303
|
+
# @return [String]
|
3304
|
+
attr_accessor :logging_level
|
3305
|
+
|
3306
|
+
def initialize(**args)
|
3307
|
+
update!(**args)
|
3308
|
+
end
|
3309
|
+
|
3310
|
+
# Update properties of this object
|
3311
|
+
def update!(**args)
|
3312
|
+
@info_log_sample_rate = args[:info_log_sample_rate] if args.key?(:info_log_sample_rate)
|
3313
|
+
@logging_level = args[:logging_level] if args.key?(:logging_level)
|
3314
|
+
end
|
3315
|
+
end
|
3316
|
+
|
3317
|
+
# The granular logging configurations for supported services.
|
3318
|
+
class GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule
|
3319
|
+
include Google::Apis::Core::Hashable
|
3320
|
+
|
3321
|
+
# The logging configurations for services supporting log generation.
|
3322
|
+
# Corresponds to the JSON property `logGenerationRule`
|
3323
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule]
|
3324
|
+
attr_accessor :log_generation_rule
|
3325
|
+
|
3326
|
+
# Required. Supported service names: "CatalogService", "CompletionService", "
|
3327
|
+
# ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService"
|
3328
|
+
# , "ProductService", "ServingConfigService", "UserEventService",
|
3329
|
+
# Corresponds to the JSON property `serviceName`
|
3330
|
+
# @return [String]
|
3331
|
+
attr_accessor :service_name
|
3332
|
+
|
3333
|
+
def initialize(**args)
|
3334
|
+
update!(**args)
|
3335
|
+
end
|
3336
|
+
|
3337
|
+
# Update properties of this object
|
3338
|
+
def update!(**args)
|
3339
|
+
@log_generation_rule = args[:log_generation_rule] if args.key?(:log_generation_rule)
|
3340
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
3341
|
+
end
|
3342
|
+
end
|
3343
|
+
|
3123
3344
|
# Represents a link between a Merchant Center account and a branch. After a link
|
3124
3345
|
# is established, products from the linked Merchant Center account are streamed
|
3125
3346
|
# to the linked branch.
|
@@ -5144,6 +5365,22 @@ module Google
|
|
5144
5365
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction]
|
5145
5366
|
attr_accessor :filter_action
|
5146
5367
|
|
5368
|
+
# Force returns an attribute/facet in the request around a certain position or
|
5369
|
+
# above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
|
5370
|
+
# search only) or Condition.page_categories (for browse only), but can't specify
|
5371
|
+
# both. * Action Inputs: attribute name, position * Action Result: Will force
|
5372
|
+
# return a facet key around a certain position or above if the condition is
|
5373
|
+
# satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
|
5374
|
+
# "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
|
5375
|
+
# size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
|
5376
|
+
# Two cases: a) The facet key "size" is not already in the top 8 slots, then the
|
5377
|
+
# facet "size" will appear at a position close to 8. b) The facet key "size" in
|
5378
|
+
# among the top 8 positions in the request, then it will stay at its current
|
5379
|
+
# rank.
|
5380
|
+
# Corresponds to the JSON property `forceReturnFacetAction`
|
5381
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction]
|
5382
|
+
attr_accessor :force_return_facet_action
|
5383
|
+
|
5147
5384
|
# Prevents a term in the query from being used in search. Example: Don't search
|
5148
5385
|
# for "shoddy".
|
5149
5386
|
# Corresponds to the JSON property `ignoreAction`
|
@@ -5165,6 +5402,17 @@ module Google
|
|
5165
5402
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction]
|
5166
5403
|
attr_accessor :redirect_action
|
5167
5404
|
|
5405
|
+
# Removes an attribute/facet in the request if is present. * Rule Condition: -
|
5406
|
+
# Must specify non-empty Condition.query_terms (for search only) or Condition.
|
5407
|
+
# page_categories (for browse only), but can't specify both. * Action Input:
|
5408
|
+
# attribute name * Action Result: Will remove the attribute (as a facet) from
|
5409
|
+
# the request if it is present. Example: Suppose the query is "shoes", the
|
5410
|
+
# Condition.query_terms is "shoes" and the attribute name "size", then facet key
|
5411
|
+
# "size" will be removed from the request (if it is present).
|
5412
|
+
# Corresponds to the JSON property `removeFacetAction`
|
5413
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction]
|
5414
|
+
attr_accessor :remove_facet_action
|
5415
|
+
|
5168
5416
|
# Replaces a term in the query. Multiple replacement candidates can be specified.
|
5169
5417
|
# All `query_terms` will be replaced with the replacement term. Example:
|
5170
5418
|
# Replace "gShoe" with "google shoe".
|
@@ -5189,9 +5437,11 @@ module Google
|
|
5189
5437
|
@condition = args[:condition] if args.key?(:condition)
|
5190
5438
|
@do_not_associate_action = args[:do_not_associate_action] if args.key?(:do_not_associate_action)
|
5191
5439
|
@filter_action = args[:filter_action] if args.key?(:filter_action)
|
5440
|
+
@force_return_facet_action = args[:force_return_facet_action] if args.key?(:force_return_facet_action)
|
5192
5441
|
@ignore_action = args[:ignore_action] if args.key?(:ignore_action)
|
5193
5442
|
@oneway_synonyms_action = args[:oneway_synonyms_action] if args.key?(:oneway_synonyms_action)
|
5194
5443
|
@redirect_action = args[:redirect_action] if args.key?(:redirect_action)
|
5444
|
+
@remove_facet_action = args[:remove_facet_action] if args.key?(:remove_facet_action)
|
5195
5445
|
@replacement_action = args[:replacement_action] if args.key?(:replacement_action)
|
5196
5446
|
@twoway_synonyms_action = args[:twoway_synonyms_action] if args.key?(:twoway_synonyms_action)
|
5197
5447
|
end
|
@@ -5300,6 +5550,65 @@ module Google
|
|
5300
5550
|
end
|
5301
5551
|
end
|
5302
5552
|
|
5553
|
+
# Force returns an attribute/facet in the request around a certain position or
|
5554
|
+
# above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
|
5555
|
+
# search only) or Condition.page_categories (for browse only), but can't specify
|
5556
|
+
# both. * Action Inputs: attribute name, position * Action Result: Will force
|
5557
|
+
# return a facet key around a certain position or above if the condition is
|
5558
|
+
# satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
|
5559
|
+
# "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
|
5560
|
+
# size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
|
5561
|
+
# Two cases: a) The facet key "size" is not already in the top 8 slots, then the
|
5562
|
+
# facet "size" will appear at a position close to 8. b) The facet key "size" in
|
5563
|
+
# among the top 8 positions in the request, then it will stay at its current
|
5564
|
+
# rank.
|
5565
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
|
5566
|
+
include Google::Apis::Core::Hashable
|
5567
|
+
|
5568
|
+
# Each instance corresponds to a force return attribute for the given condition.
|
5569
|
+
# There can't be more 3 instances here.
|
5570
|
+
# Corresponds to the JSON property `facetPositionAdjustments`
|
5571
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment>]
|
5572
|
+
attr_accessor :facet_position_adjustments
|
5573
|
+
|
5574
|
+
def initialize(**args)
|
5575
|
+
update!(**args)
|
5576
|
+
end
|
5577
|
+
|
5578
|
+
# Update properties of this object
|
5579
|
+
def update!(**args)
|
5580
|
+
@facet_position_adjustments = args[:facet_position_adjustments] if args.key?(:facet_position_adjustments)
|
5581
|
+
end
|
5582
|
+
end
|
5583
|
+
|
5584
|
+
# Each facet position adjustment consists of a single attribute name (i.e. facet
|
5585
|
+
# key) along with a specified position.
|
5586
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
|
5587
|
+
include Google::Apis::Core::Hashable
|
5588
|
+
|
5589
|
+
# The attribute name to force return as a facet. Each attribute name should be a
|
5590
|
+
# valid attribute name, be non-empty and contain at most 80 characters long.
|
5591
|
+
# Corresponds to the JSON property `attributeName`
|
5592
|
+
# @return [String]
|
5593
|
+
attr_accessor :attribute_name
|
5594
|
+
|
5595
|
+
# This is the position in the request as explained above. It should be strictly
|
5596
|
+
# positive be at most 100.
|
5597
|
+
# Corresponds to the JSON property `position`
|
5598
|
+
# @return [Fixnum]
|
5599
|
+
attr_accessor :position
|
5600
|
+
|
5601
|
+
def initialize(**args)
|
5602
|
+
update!(**args)
|
5603
|
+
end
|
5604
|
+
|
5605
|
+
# Update properties of this object
|
5606
|
+
def update!(**args)
|
5607
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
5608
|
+
@position = args[:position] if args.key?(:position)
|
5609
|
+
end
|
5610
|
+
end
|
5611
|
+
|
5303
5612
|
# Prevents a term in the query from being used in search. Example: Don't search
|
5304
5613
|
# for "shoddy".
|
5305
5614
|
class GoogleCloudRetailV2alphaRuleIgnoreAction
|
@@ -5377,6 +5686,34 @@ module Google
|
|
5377
5686
|
end
|
5378
5687
|
end
|
5379
5688
|
|
5689
|
+
# Removes an attribute/facet in the request if is present. * Rule Condition: -
|
5690
|
+
# Must specify non-empty Condition.query_terms (for search only) or Condition.
|
5691
|
+
# page_categories (for browse only), but can't specify both. * Action Input:
|
5692
|
+
# attribute name * Action Result: Will remove the attribute (as a facet) from
|
5693
|
+
# the request if it is present. Example: Suppose the query is "shoes", the
|
5694
|
+
# Condition.query_terms is "shoes" and the attribute name "size", then facet key
|
5695
|
+
# "size" will be removed from the request (if it is present).
|
5696
|
+
class GoogleCloudRetailV2alphaRuleRemoveFacetAction
|
5697
|
+
include Google::Apis::Core::Hashable
|
5698
|
+
|
5699
|
+
# The attribute names (i.e. facet keys) to remove from the dynamic facets (if
|
5700
|
+
# present in the request). There can't be more 3 attribute names. Each attribute
|
5701
|
+
# name should be a valid attribute name, be non-empty and contain at most 80
|
5702
|
+
# characters.
|
5703
|
+
# Corresponds to the JSON property `attributeNames`
|
5704
|
+
# @return [Array<String>]
|
5705
|
+
attr_accessor :attribute_names
|
5706
|
+
|
5707
|
+
def initialize(**args)
|
5708
|
+
update!(**args)
|
5709
|
+
end
|
5710
|
+
|
5711
|
+
# Update properties of this object
|
5712
|
+
def update!(**args)
|
5713
|
+
@attribute_names = args[:attribute_names] if args.key?(:attribute_names)
|
5714
|
+
end
|
5715
|
+
end
|
5716
|
+
|
5380
5717
|
# Replaces a term in the query. Multiple replacement candidates can be specified.
|
5381
5718
|
# All `query_terms` will be replaced with the replacement term. Example:
|
5382
5719
|
# Replace "gShoe" with "google shoe".
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.86.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231005"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,24 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
343
361
|
class GoogleCloudRetailV2alphaColorInfo
|
344
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
363
|
|
@@ -616,6 +634,24 @@ module Google
|
|
616
634
|
include Google::Apis::Core::JsonObjectSupport
|
617
635
|
end
|
618
636
|
|
637
|
+
class GoogleCloudRetailV2alphaLoggingConfig
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
643
|
+
class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
649
|
+
class GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
619
655
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
620
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
657
|
|
@@ -922,6 +958,18 @@ module Google
|
|
922
958
|
include Google::Apis::Core::JsonObjectSupport
|
923
959
|
end
|
924
960
|
|
961
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
967
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
+
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
971
|
+
end
|
972
|
+
|
925
973
|
class GoogleCloudRetailV2alphaRuleIgnoreAction
|
926
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
975
|
|
@@ -940,6 +988,12 @@ module Google
|
|
940
988
|
include Google::Apis::Core::JsonObjectSupport
|
941
989
|
end
|
942
990
|
|
991
|
+
class GoogleCloudRetailV2alphaRuleRemoveFacetAction
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
|
+
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
995
|
+
end
|
996
|
+
|
943
997
|
class GoogleCloudRetailV2alphaRuleReplacementAction
|
944
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
999
|
|
@@ -1816,6 +1870,8 @@ module Google
|
|
1816
1870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1817
1871
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1818
1872
|
property :exact_searchable_option, as: 'exactSearchableOption'
|
1873
|
+
property :facet_config, as: 'facetConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig::Representation
|
1874
|
+
|
1819
1875
|
property :in_use, as: 'inUse'
|
1820
1876
|
property :indexable_option, as: 'indexableOption'
|
1821
1877
|
property :key, as: 'key'
|
@@ -1826,6 +1882,35 @@ module Google
|
|
1826
1882
|
end
|
1827
1883
|
end
|
1828
1884
|
|
1885
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
|
1886
|
+
# @private
|
1887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1888
|
+
collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
|
1889
|
+
|
1890
|
+
collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
|
1891
|
+
|
1892
|
+
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
|
1893
|
+
|
1894
|
+
end
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
|
1898
|
+
# @private
|
1899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1900
|
+
property :end_time, as: 'endTime'
|
1901
|
+
property :start_time, as: 'startTime'
|
1902
|
+
collection :values, as: 'values'
|
1903
|
+
end
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
|
1907
|
+
# @private
|
1908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1909
|
+
property :merged_value, as: 'mergedValue'
|
1910
|
+
collection :values, as: 'values'
|
1911
|
+
end
|
1912
|
+
end
|
1913
|
+
|
1829
1914
|
class GoogleCloudRetailV2alphaColorInfo
|
1830
1915
|
# @private
|
1831
1916
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1915,6 +2000,7 @@ module Google
|
|
1915
2000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1916
2001
|
collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange::Representation
|
1917
2002
|
|
2003
|
+
collection :page_categories, as: 'pageCategories'
|
1918
2004
|
collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm::Representation
|
1919
2005
|
|
1920
2006
|
end
|
@@ -2261,6 +2347,34 @@ module Google
|
|
2261
2347
|
end
|
2262
2348
|
end
|
2263
2349
|
|
2350
|
+
class GoogleCloudRetailV2alphaLoggingConfig
|
2351
|
+
# @private
|
2352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2353
|
+
property :default_log_generation_rule, as: 'defaultLogGenerationRule', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule::Representation
|
2354
|
+
|
2355
|
+
property :name, as: 'name'
|
2356
|
+
collection :service_log_generation_rules, as: 'serviceLogGenerationRules', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule::Representation
|
2357
|
+
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule
|
2362
|
+
# @private
|
2363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2364
|
+
property :info_log_sample_rate, as: 'infoLogSampleRate'
|
2365
|
+
property :logging_level, as: 'loggingLevel'
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
class GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule
|
2370
|
+
# @private
|
2371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2372
|
+
property :log_generation_rule, as: 'logGenerationRule', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule::Representation
|
2373
|
+
|
2374
|
+
property :service_name, as: 'serviceName'
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2264
2378
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
2265
2379
|
# @private
|
2266
2380
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2735,12 +2849,16 @@ module Google
|
|
2735
2849
|
|
2736
2850
|
property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction::Representation
|
2737
2851
|
|
2852
|
+
property :force_return_facet_action, as: 'forceReturnFacetAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction::Representation
|
2853
|
+
|
2738
2854
|
property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction::Representation
|
2739
2855
|
|
2740
2856
|
property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction::Representation
|
2741
2857
|
|
2742
2858
|
property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction::Representation
|
2743
2859
|
|
2860
|
+
property :remove_facet_action, as: 'removeFacetAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction::Representation
|
2861
|
+
|
2744
2862
|
property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction::Representation
|
2745
2863
|
|
2746
2864
|
property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction::Representation
|
@@ -2772,6 +2890,22 @@ module Google
|
|
2772
2890
|
end
|
2773
2891
|
end
|
2774
2892
|
|
2893
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
|
2894
|
+
# @private
|
2895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2896
|
+
collection :facet_position_adjustments, as: 'facetPositionAdjustments', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment::Representation
|
2897
|
+
|
2898
|
+
end
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
|
2902
|
+
# @private
|
2903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2904
|
+
property :attribute_name, as: 'attributeName'
|
2905
|
+
property :position, as: 'position'
|
2906
|
+
end
|
2907
|
+
end
|
2908
|
+
|
2775
2909
|
class GoogleCloudRetailV2alphaRuleIgnoreAction
|
2776
2910
|
# @private
|
2777
2911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2795,6 +2929,13 @@ module Google
|
|
2795
2929
|
end
|
2796
2930
|
end
|
2797
2931
|
|
2932
|
+
class GoogleCloudRetailV2alphaRuleRemoveFacetAction
|
2933
|
+
# @private
|
2934
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2935
|
+
collection :attribute_names, as: 'attributeNames'
|
2936
|
+
end
|
2937
|
+
end
|
2938
|
+
|
2798
2939
|
class GoogleCloudRetailV2alphaRuleReplacementAction
|
2799
2940
|
# @private
|
2800
2941
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -88,6 +88,37 @@ module Google
|
|
88
88
|
execute_or_queue_command(command, &block)
|
89
89
|
end
|
90
90
|
|
91
|
+
# Gets the LoggingConfig of the requested project.
|
92
|
+
# @param [String] name
|
93
|
+
# Required. Full LoggingConfig resource name. Format: projects/`project_number`/
|
94
|
+
# loggingConfig
|
95
|
+
# @param [String] fields
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
97
|
+
# @param [String] quota_user
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
101
|
+
# Request-specific options
|
102
|
+
#
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
104
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig]
|
108
|
+
#
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
|
+
def get_project_logging_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
+
command = make_simple_command(:get, 'v2alpha/{+name}', options)
|
114
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig::Representation
|
115
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig
|
116
|
+
command.params['name'] = name unless name.nil?
|
117
|
+
command.query['fields'] = fields unless fields.nil?
|
118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
119
|
+
execute_or_queue_command(command, &block)
|
120
|
+
end
|
121
|
+
|
91
122
|
# Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the
|
92
123
|
# Retail API service.
|
93
124
|
# @param [String] name
|
@@ -151,6 +182,45 @@ module Google
|
|
151
182
|
execute_or_queue_command(command, &block)
|
152
183
|
end
|
153
184
|
|
185
|
+
# Updates the LoggingConfig of the requested project.
|
186
|
+
# @param [String] name
|
187
|
+
# Required. Immutable. The name of the LoggingConfig singleton resource. Format:
|
188
|
+
# projects/*/loggingConfig
|
189
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig] google_cloud_retail_v2alpha_logging_config_object
|
190
|
+
# @param [String] update_mask
|
191
|
+
# Indicates which fields in the provided LoggingConfig to update. The following
|
192
|
+
# are the only supported fields: * default_log_generation_rule *
|
193
|
+
# per_service_log_generation_rules If not set, all supported fields are updated.
|
194
|
+
# @param [String] fields
|
195
|
+
# Selector specifying which fields to include in a partial response.
|
196
|
+
# @param [String] quota_user
|
197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
199
|
+
# @param [Google::Apis::RequestOptions] options
|
200
|
+
# Request-specific options
|
201
|
+
#
|
202
|
+
# @yield [result, err] Result & error if block supplied
|
203
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig] parsed result object
|
204
|
+
# @yieldparam err [StandardError] error object if request failed
|
205
|
+
#
|
206
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig]
|
207
|
+
#
|
208
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
209
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
210
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
211
|
+
def update_project_logging_config(name, google_cloud_retail_v2alpha_logging_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
212
|
+
command = make_simple_command(:patch, 'v2alpha/{+name}', options)
|
213
|
+
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig::Representation
|
214
|
+
command.request_object = google_cloud_retail_v2alpha_logging_config_object
|
215
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig::Representation
|
216
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLoggingConfig
|
217
|
+
command.params['name'] = name unless name.nil?
|
218
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
219
|
+
command.query['fields'] = fields unless fields.nil?
|
220
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
221
|
+
execute_or_queue_command(command, &block)
|
222
|
+
end
|
223
|
+
|
154
224
|
# Completes the specified prefix with keyword suggestions. This feature is only
|
155
225
|
# available for users who have Retail Search enabled. Enable Retail Search on
|
156
226
|
# Cloud Console before using this feature.
|
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.
|
4
|
+
version: 0.86.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-
|
11
|
+
date: 2023-10-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.86.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Retail API V2alpha
|