google-apis-retail_v2alpha 0.102.0 → 0.104.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: 6c2b55b91e7ac4829dd744c044b856175b6529ddf778b28045cdd28bc628bcd5
|
4
|
+
data.tar.gz: 4b8b52532534acda6934fedbca7e69215ae8f55f76d3479638a69263b7f92816
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24f621ff56ae0b66798e80db679a2c6e14acc9e564dc3b8ba41e2bcd5484fe56da645229d715de4153731dfb098cc7a5e3b23fbf65aa1e445211cf6ab1995d59
|
7
|
+
data.tar.gz: b511ceb932b3a39a3b1373e37e7e70124f9e552b862ae4edc2994da3bf2620bae73ec41a7fa8a78be6d2b0ccbc4298061704a10cd22d6fd99b0cd2e8e430559d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.104.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240711
|
6
|
+
|
7
|
+
### v0.103.0 (2024-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240610
|
10
|
+
|
3
11
|
### v0.102.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240509
|
@@ -1678,7 +1678,7 @@ module Google
|
|
1678
1678
|
end
|
1679
1679
|
end
|
1680
1680
|
|
1681
|
-
# A data branch that stores Products.
|
1681
|
+
# A data branch that stores all instances of Products.
|
1682
1682
|
class GoogleCloudRetailV2alphaBranch
|
1683
1683
|
include Google::Apis::Core::Hashable
|
1684
1684
|
|
@@ -1712,28 +1712,6 @@ module Google
|
|
1712
1712
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranchProductCountStatistic>]
|
1713
1713
|
attr_accessor :product_count_stats
|
1714
1714
|
|
1715
|
-
# Output only. The number of products in different groups that this branch has.
|
1716
|
-
# The key is a group representing a set of products, and the value is the number
|
1717
|
-
# of products in that group. Note: keys in this map may change over time.
|
1718
|
-
# Possible keys: * "primary-in-stock", products have Product.Type.PRIMARY type
|
1719
|
-
# and Product.Availability.IN_STOCK availability. * "primary-out-of-stock",
|
1720
|
-
# products have Product.Type.PRIMARY type and Product.Availability.OUT_OF_STOCK
|
1721
|
-
# availability. * "primary-preorder", products have Product.Type.PRIMARY type
|
1722
|
-
# and Product.Availability.PREORDER availability. * "primary-backorder",
|
1723
|
-
# products have Product.Type.PRIMARY type and Product.Availability.BACKORDER
|
1724
|
-
# availability. * "variant-in-stock", products have Product.Type.VARIANT type
|
1725
|
-
# and Product.Availability.IN_STOCK availability. * "variant-out-of-stock",
|
1726
|
-
# products have Product.Type.VARIANT type and Product.Availability.OUT_OF_STOCK
|
1727
|
-
# availability. * "variant-preorder", products have Product.Type.VARIANT type
|
1728
|
-
# and Product.Availability.PREORDER availability. * "variant-backorder",
|
1729
|
-
# products have Product.Type.VARIANT type and Product.Availability.BACKORDER
|
1730
|
-
# availability. * "price-discounted", products have [Product.price_info.price] <
|
1731
|
-
# [Product.price_info.original_price]. This field is not populated in BranchView.
|
1732
|
-
# BASIC view.
|
1733
|
-
# Corresponds to the JSON property `productCounts`
|
1734
|
-
# @return [Hash<String,Fixnum>]
|
1735
|
-
attr_accessor :product_counts
|
1736
|
-
|
1737
1715
|
# Output only. The quality metrics measured among products of this branch. See
|
1738
1716
|
# QualityMetric.requirement_key for supported metrics. Metrics could be missing
|
1739
1717
|
# if failed to retrieve. This field is not populated in BranchView.BASIC view.
|
@@ -1752,7 +1730,6 @@ module Google
|
|
1752
1730
|
@last_product_import_time = args[:last_product_import_time] if args.key?(:last_product_import_time)
|
1753
1731
|
@name = args[:name] if args.key?(:name)
|
1754
1732
|
@product_count_stats = args[:product_count_stats] if args.key?(:product_count_stats)
|
1755
|
-
@product_counts = args[:product_counts] if args.key?(:product_counts)
|
1756
1733
|
@quality_metrics = args[:quality_metrics] if args.key?(:quality_metrics)
|
1757
1734
|
end
|
1758
1735
|
end
|
@@ -2142,13 +2119,6 @@ module Google
|
|
2142
2119
|
# @return [String]
|
2143
2120
|
attr_accessor :merged_facet_key
|
2144
2121
|
|
2145
|
-
# Each instance is a list of facet values that map into the same (possibly
|
2146
|
-
# different) merged facet value. For the current attribute config, each facet
|
2147
|
-
# value should map to at most one merged facet value.
|
2148
|
-
# Corresponds to the JSON property `mergedFacetValues`
|
2149
|
-
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue>]
|
2150
|
-
attr_accessor :merged_facet_values
|
2151
|
-
|
2152
2122
|
def initialize(**args)
|
2153
2123
|
update!(**args)
|
2154
2124
|
end
|
@@ -2156,7 +2126,6 @@ module Google
|
|
2156
2126
|
# Update properties of this object
|
2157
2127
|
def update!(**args)
|
2158
2128
|
@merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
|
2159
|
-
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
2160
2129
|
end
|
2161
2130
|
end
|
2162
2131
|
|
@@ -2378,7 +2347,7 @@ module Google
|
|
2378
2347
|
end
|
2379
2348
|
end
|
2380
2349
|
|
2381
|
-
# Recent search of this user.
|
2350
|
+
# Deprecated: Recent search of this user.
|
2382
2351
|
class GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult
|
2383
2352
|
include Google::Apis::Core::Hashable
|
2384
2353
|
|
@@ -3073,6 +3042,51 @@ module Google
|
|
3073
3042
|
end
|
3074
3043
|
end
|
3075
3044
|
|
3045
|
+
# Request message for the `ExportUserEvents` method.
|
3046
|
+
class GoogleCloudRetailV2alphaExportUserEventsRequest
|
3047
|
+
include Google::Apis::Core::Hashable
|
3048
|
+
|
3049
|
+
# A filtering expression to specify restrictions on returned events. The
|
3050
|
+
# expression is a sequence of terms. Each term applies a restriction to the
|
3051
|
+
# returned user events. Use this expression to restrict results to a specific
|
3052
|
+
# time range or to filter events by eventType. For example, `eventTime > "2012-
|
3053
|
+
# 04-23T18:25:43.511Z" eventsMissingCatalogItems eventTime<"2012-04-23T18:25:43.
|
3054
|
+
# 511Z" eventType=search` We expect only three types of fields: * `eventTime`:
|
3055
|
+
# This can be specified twice, once with a less than operator and once with a
|
3056
|
+
# greater than operator. The `eventTime` restriction should result in one,
|
3057
|
+
# contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR`
|
3058
|
+
# and `NOT` are supported if the expression is enclosed in parentheses and the
|
3059
|
+
# operators are separated from the tag values by a space. * `
|
3060
|
+
# eventsMissingCatalogItems`: This restricts results to events for which catalog
|
3061
|
+
# items were not found in the catalog. The default behavior is to return only
|
3062
|
+
# those events for which catalog items were found. Some examples of valid
|
3063
|
+
# filters expressions: * Example 1: `eventTime > "2012-04-23T18:25:43.511Z"
|
3064
|
+
# eventTime < "2012-04-23T18:30:43.511Z"` * Example 2: `eventTime > "2012-04-
|
3065
|
+
# 23T18:25:43.511Z" eventType = detail-page-view` * Example 3: `
|
3066
|
+
# eventsMissingCatalogItems eventType = (NOT search) eventTime < "2018-04-23T18:
|
3067
|
+
# 30:43.511Z"` * Example 4: `eventTime > "2012-04-23T18:25:43.511Z"` * Example 5:
|
3068
|
+
# `eventType = (detail-page-view OR search)` * Example 6: `
|
3069
|
+
# eventsMissingCatalogItems`
|
3070
|
+
# Corresponds to the JSON property `filter`
|
3071
|
+
# @return [String]
|
3072
|
+
attr_accessor :filter
|
3073
|
+
|
3074
|
+
# The output configuration setting.
|
3075
|
+
# Corresponds to the JSON property `outputConfig`
|
3076
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputConfig]
|
3077
|
+
attr_accessor :output_config
|
3078
|
+
|
3079
|
+
def initialize(**args)
|
3080
|
+
update!(**args)
|
3081
|
+
end
|
3082
|
+
|
3083
|
+
# Update properties of this object
|
3084
|
+
def update!(**args)
|
3085
|
+
@filter = args[:filter] if args.key?(:filter)
|
3086
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
3087
|
+
end
|
3088
|
+
end
|
3089
|
+
|
3076
3090
|
# Response of the ExportUserEventsRequest. If the long running operation was
|
3077
3091
|
# successful, then this message is returned by the google.longrunning.Operations.
|
3078
3092
|
# response field if the operation was successful.
|
@@ -8130,32 +8144,6 @@ module Google
|
|
8130
8144
|
end
|
8131
8145
|
end
|
8132
8146
|
|
8133
|
-
# Common metadata related to the progress of the operations.
|
8134
|
-
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
8135
|
-
include Google::Apis::Core::Hashable
|
8136
|
-
|
8137
|
-
# Operation create time.
|
8138
|
-
# Corresponds to the JSON property `createTime`
|
8139
|
-
# @return [String]
|
8140
|
-
attr_accessor :create_time
|
8141
|
-
|
8142
|
-
# Operation last update time. If the operation is done, this is also the finish
|
8143
|
-
# time.
|
8144
|
-
# Corresponds to the JSON property `updateTime`
|
8145
|
-
# @return [String]
|
8146
|
-
attr_accessor :update_time
|
8147
|
-
|
8148
|
-
def initialize(**args)
|
8149
|
-
update!(**args)
|
8150
|
-
end
|
8151
|
-
|
8152
|
-
# Update properties of this object
|
8153
|
-
def update!(**args)
|
8154
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
8155
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
8156
|
-
end
|
8157
|
-
end
|
8158
|
-
|
8159
8147
|
# Metadata associated with a create operation.
|
8160
8148
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
8161
8149
|
include Google::Apis::Core::Hashable
|
@@ -8503,127 +8491,6 @@ module Google
|
|
8503
8491
|
end
|
8504
8492
|
end
|
8505
8493
|
|
8506
|
-
# Represents a link between a Merchant Center account and a branch. After a link
|
8507
|
-
# is established, products from the linked Merchant Center account are streamed
|
8508
|
-
# to the linked branch.
|
8509
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
8510
|
-
include Google::Apis::Core::Hashable
|
8511
|
-
|
8512
|
-
# Required. The branch ID (e.g. 0/1/2) within the catalog that products from
|
8513
|
-
# merchant_center_account_id are streamed to. When updating this field, an empty
|
8514
|
-
# value will use the currently configured default branch. However, changing the
|
8515
|
-
# default branch later on won't change the linked branch here. A single branch
|
8516
|
-
# ID can only have one linked Merchant Center account ID.
|
8517
|
-
# Corresponds to the JSON property `branchId`
|
8518
|
-
# @return [String]
|
8519
|
-
attr_accessor :branch_id
|
8520
|
-
|
8521
|
-
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
8522
|
-
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
8523
|
-
# from selected feeds.
|
8524
|
-
# Corresponds to the JSON property `feedFilters`
|
8525
|
-
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
|
8526
|
-
attr_accessor :feed_filters
|
8527
|
-
|
8528
|
-
# The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
|
8529
|
-
# //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
8530
|
-
# FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
|
8531
|
-
# Corresponds to the JSON property `feedLabel`
|
8532
|
-
# @return [String]
|
8533
|
-
attr_accessor :feed_label
|
8534
|
-
|
8535
|
-
# Output only. Immutable. MerchantCenterAccountLink identifier, which is the
|
8536
|
-
# final component of name. This field is auto generated and follows the
|
8537
|
-
# convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
|
8538
|
-
# catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
|
8539
|
-
# Corresponds to the JSON property `id`
|
8540
|
-
# @return [String]
|
8541
|
-
attr_accessor :id
|
8542
|
-
|
8543
|
-
# Language of the title/description and other string attributes. Use language
|
8544
|
-
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
8545
|
-
# 639-1. This specifies the language of offers in Merchant Center that will be
|
8546
|
-
# accepted. If empty, no language filtering will be performed. Example value: `
|
8547
|
-
# en`.
|
8548
|
-
# Corresponds to the JSON property `languageCode`
|
8549
|
-
# @return [String]
|
8550
|
-
attr_accessor :language_code
|
8551
|
-
|
8552
|
-
# Required. The linked [Merchant center account id](https://developers.google.
|
8553
|
-
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
8554
|
-
# account or a sub-account of a MCA.
|
8555
|
-
# Corresponds to the JSON property `merchantCenterAccountId`
|
8556
|
-
# @return [Fixnum]
|
8557
|
-
attr_accessor :merchant_center_account_id
|
8558
|
-
|
8559
|
-
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
8560
|
-
# such as `projects/*/locations/global/catalogs/default_catalog/
|
8561
|
-
# merchantCenterAccountLinks/merchant_center_account_link`.
|
8562
|
-
# Corresponds to the JSON property `name`
|
8563
|
-
# @return [String]
|
8564
|
-
attr_accessor :name
|
8565
|
-
|
8566
|
-
# Output only. Google Cloud project ID.
|
8567
|
-
# Corresponds to the JSON property `projectId`
|
8568
|
-
# @return [String]
|
8569
|
-
attr_accessor :project_id
|
8570
|
-
|
8571
|
-
# Optional. An optional arbitrary string that could be used as a tag for
|
8572
|
-
# tracking link source.
|
8573
|
-
# Corresponds to the JSON property `source`
|
8574
|
-
# @return [String]
|
8575
|
-
attr_accessor :source
|
8576
|
-
|
8577
|
-
# Output only. Represents the state of the link.
|
8578
|
-
# Corresponds to the JSON property `state`
|
8579
|
-
# @return [String]
|
8580
|
-
attr_accessor :state
|
8581
|
-
|
8582
|
-
def initialize(**args)
|
8583
|
-
update!(**args)
|
8584
|
-
end
|
8585
|
-
|
8586
|
-
# Update properties of this object
|
8587
|
-
def update!(**args)
|
8588
|
-
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
8589
|
-
@feed_filters = args[:feed_filters] if args.key?(:feed_filters)
|
8590
|
-
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
8591
|
-
@id = args[:id] if args.key?(:id)
|
8592
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
8593
|
-
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
8594
|
-
@name = args[:name] if args.key?(:name)
|
8595
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
8596
|
-
@source = args[:source] if args.key?(:source)
|
8597
|
-
@state = args[:state] if args.key?(:state)
|
8598
|
-
end
|
8599
|
-
end
|
8600
|
-
|
8601
|
-
# Merchant Center Feed filter criterion.
|
8602
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
8603
|
-
include Google::Apis::Core::Hashable
|
8604
|
-
|
8605
|
-
# Merchant Center primary feed ID.
|
8606
|
-
# Corresponds to the JSON property `primaryFeedId`
|
8607
|
-
# @return [Fixnum]
|
8608
|
-
attr_accessor :primary_feed_id
|
8609
|
-
|
8610
|
-
# Merchant Center primary feed name. The name is used for the display purposes
|
8611
|
-
# only.
|
8612
|
-
# Corresponds to the JSON property `primaryFeedName`
|
8613
|
-
# @return [String]
|
8614
|
-
attr_accessor :primary_feed_name
|
8615
|
-
|
8616
|
-
def initialize(**args)
|
8617
|
-
update!(**args)
|
8618
|
-
end
|
8619
|
-
|
8620
|
-
# Update properties of this object
|
8621
|
-
def update!(**args)
|
8622
|
-
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
8623
|
-
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
8624
|
-
end
|
8625
|
-
end
|
8626
|
-
|
8627
8494
|
# Metadata that describes the training and serving parameters of a Model. A
|
8628
8495
|
# Model can be associated with a ServingConfig and then queried through the
|
8629
8496
|
# Predict API.
|
@@ -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.104.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -592,6 +592,12 @@ module Google
|
|
592
592
|
include Google::Apis::Core::JsonObjectSupport
|
593
593
|
end
|
594
594
|
|
595
|
+
class GoogleCloudRetailV2alphaExportUserEventsRequest
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
595
601
|
class GoogleCloudRetailV2alphaExportUserEventsResponse
|
596
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
603
|
|
@@ -1324,12 +1330,6 @@ module Google
|
|
1324
1330
|
include Google::Apis::Core::JsonObjectSupport
|
1325
1331
|
end
|
1326
1332
|
|
1327
|
-
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
1328
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
|
-
|
1330
|
-
include Google::Apis::Core::JsonObjectSupport
|
1331
|
-
end
|
1332
|
-
|
1333
1333
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
1334
1334
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
1335
|
|
@@ -1402,18 +1402,6 @@ module Google
|
|
1402
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1403
|
end
|
1404
1404
|
|
1405
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
1406
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
|
-
|
1408
|
-
include Google::Apis::Core::JsonObjectSupport
|
1409
|
-
end
|
1410
|
-
|
1411
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
1412
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
|
-
|
1414
|
-
include Google::Apis::Core::JsonObjectSupport
|
1415
|
-
end
|
1416
|
-
|
1417
1405
|
class GoogleCloudRetailV2betaModel
|
1418
1406
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
1407
|
|
@@ -2066,7 +2054,6 @@ module Google
|
|
2066
2054
|
property :name, as: 'name'
|
2067
2055
|
collection :product_count_stats, as: 'productCountStats', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranchProductCountStatistic, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranchProductCountStatistic::Representation
|
2068
2056
|
|
2069
|
-
hash :product_counts, as: 'productCounts'
|
2070
2057
|
collection :quality_metrics, as: 'qualityMetrics', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranchQualityMetric, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranchQualityMetric::Representation
|
2071
2058
|
|
2072
2059
|
end
|
@@ -2150,8 +2137,6 @@ module Google
|
|
2150
2137
|
# @private
|
2151
2138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2152
2139
|
property :merged_facet_key, as: 'mergedFacetKey'
|
2153
|
-
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
|
2154
|
-
|
2155
2140
|
end
|
2156
2141
|
end
|
2157
2142
|
|
@@ -2407,6 +2392,15 @@ module Google
|
|
2407
2392
|
end
|
2408
2393
|
end
|
2409
2394
|
|
2395
|
+
class GoogleCloudRetailV2alphaExportUserEventsRequest
|
2396
|
+
# @private
|
2397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2398
|
+
property :filter, as: 'filter'
|
2399
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputConfig::Representation
|
2400
|
+
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
|
2410
2404
|
class GoogleCloudRetailV2alphaExportUserEventsResponse
|
2411
2405
|
# @private
|
2412
2406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3629,14 +3623,6 @@ module Google
|
|
3629
3623
|
end
|
3630
3624
|
end
|
3631
3625
|
|
3632
|
-
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
3633
|
-
# @private
|
3634
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3635
|
-
property :create_time, as: 'createTime'
|
3636
|
-
property :update_time, as: 'updateTime'
|
3637
|
-
end
|
3638
|
-
end
|
3639
|
-
|
3640
3626
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
3641
3627
|
# @private
|
3642
3628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3751,31 +3737,6 @@ module Google
|
|
3751
3737
|
end
|
3752
3738
|
end
|
3753
3739
|
|
3754
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
3755
|
-
# @private
|
3756
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3757
|
-
property :branch_id, as: 'branchId'
|
3758
|
-
collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
|
3759
|
-
|
3760
|
-
property :feed_label, as: 'feedLabel'
|
3761
|
-
property :id, as: 'id'
|
3762
|
-
property :language_code, as: 'languageCode'
|
3763
|
-
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
3764
|
-
property :name, as: 'name'
|
3765
|
-
property :project_id, as: 'projectId'
|
3766
|
-
property :source, as: 'source'
|
3767
|
-
property :state, as: 'state'
|
3768
|
-
end
|
3769
|
-
end
|
3770
|
-
|
3771
|
-
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
3772
|
-
# @private
|
3773
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3774
|
-
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
3775
|
-
property :primary_feed_name, as: 'primaryFeedName'
|
3776
|
-
end
|
3777
|
-
end
|
3778
|
-
|
3779
3740
|
class GoogleCloudRetailV2betaModel
|
3780
3741
|
# @private
|
3781
3742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -262,8 +262,8 @@ module Google
|
|
262
262
|
# @param [String] update_mask
|
263
263
|
# Indicates which fields in the provided LoggingConfig to update. The following
|
264
264
|
# are the only supported fields: * LoggingConfig.default_log_generation_rule *
|
265
|
-
# LoggingConfig.
|
266
|
-
#
|
265
|
+
# LoggingConfig.service_log_generation_rules If not set, all supported fields
|
266
|
+
# are updated.
|
267
267
|
# @param [String] fields
|
268
268
|
# Selector specifying which fields to include in a partial response.
|
269
269
|
# @param [String] quota_user
|
@@ -315,8 +315,8 @@ module Google
|
|
315
315
|
# all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
|
316
316
|
# MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
|
317
317
|
# @param [Boolean] enable_attribute_suggestions
|
318
|
-
# If true, attribute suggestions are enabled and provided in response. This
|
319
|
-
# field is only available for "cloud-retail" dataset.
|
318
|
+
# If true, attribute suggestions are enabled and provided in the response. This
|
319
|
+
# field is only available for the "cloud-retail" dataset.
|
320
320
|
# @param [String] entity
|
321
321
|
# The entity for customers who run multiple entities, domains, sites, or regions,
|
322
322
|
# for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
|
@@ -905,7 +905,7 @@ module Google
|
|
905
905
|
execute_or_queue_command(command, &block)
|
906
906
|
end
|
907
907
|
|
908
|
-
# Lists all
|
908
|
+
# Lists all instances of Branch under the specified parent Catalog.
|
909
909
|
# @param [String] parent
|
910
910
|
# Required. The parent catalog resource name.
|
911
911
|
# @param [String] view
|
@@ -2734,6 +2734,41 @@ module Google
|
|
2734
2734
|
execute_or_queue_command(command, &block)
|
2735
2735
|
end
|
2736
2736
|
|
2737
|
+
# Exports user events. `Operation.response` is of type `ExportResponse`. `
|
2738
|
+
# Operation.metadata` is of type `ExportMetadata`.
|
2739
|
+
# @param [String] parent
|
2740
|
+
# Required. Resource name of a Catalog. For example `projects/1234/locations/
|
2741
|
+
# global/catalogs/default_catalog`
|
2742
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportUserEventsRequest] google_cloud_retail_v2alpha_export_user_events_request_object
|
2743
|
+
# @param [String] fields
|
2744
|
+
# Selector specifying which fields to include in a partial response.
|
2745
|
+
# @param [String] quota_user
|
2746
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2747
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2748
|
+
# @param [Google::Apis::RequestOptions] options
|
2749
|
+
# Request-specific options
|
2750
|
+
#
|
2751
|
+
# @yield [result, err] Result & error if block supplied
|
2752
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleLongrunningOperation] parsed result object
|
2753
|
+
# @yieldparam err [StandardError] error object if request failed
|
2754
|
+
#
|
2755
|
+
# @return [Google::Apis::RetailV2alpha::GoogleLongrunningOperation]
|
2756
|
+
#
|
2757
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2758
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2759
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2760
|
+
def export_project_location_catalog_user_event(parent, google_cloud_retail_v2alpha_export_user_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2761
|
+
command = make_simple_command(:post, 'v2alpha/{+parent}/userEvents:export', options)
|
2762
|
+
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportUserEventsRequest::Representation
|
2763
|
+
command.request_object = google_cloud_retail_v2alpha_export_user_events_request_object
|
2764
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleLongrunningOperation::Representation
|
2765
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleLongrunningOperation
|
2766
|
+
command.params['parent'] = parent unless parent.nil?
|
2767
|
+
command.query['fields'] = fields unless fields.nil?
|
2768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2769
|
+
execute_or_queue_command(command, &block)
|
2770
|
+
end
|
2771
|
+
|
2737
2772
|
# Bulk import of User events. Request processing might be synchronous. Events
|
2738
2773
|
# that already exist are skipped. Use this method for backfilling historical
|
2739
2774
|
# user events. `Operation.response` is of type `ImportResponse`. Note that it is
|
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.104.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: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.104.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: []
|