google-cloud-retail-v2 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/retail/v2/product_service/client.rb +4 -4
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +4 -4
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/proto_docs/google/cloud/retail/v2/import_config.rb +8 -7
- data/proto_docs/google/cloud/retail/v2/product.rb +2 -2
- data/proto_docs/google/cloud/retail/v2/product_service.rb +3 -3
- data/proto_docs/google/cloud/retail/v2/user_event_service.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cbc1a359ed58a51bef3ead28b2f92e37f46201ce1fd79c1e47f6598239a360a
|
4
|
+
data.tar.gz: 4ccc2fe629b01d719b2ed0d156eaac7e7f9128085a7fa032efcb8dbf39313b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 375f336e2b9a109c62d959432da655c7ceb982bceddb9bcf6d1c618aa83a0e8f005763950bbdcdf7b5e2f7c3ff20b26492a87538a14245cbc00fc146c9c53f06
|
7
|
+
data.tar.gz: eaa508d66492a015ad085c8f87fae991e2e0e1783d886fe6c007349cfe31aadb3d09486abc4cc9f230d3af6e2b73d444d379910ac409470d8de5ce5107cb6ee3
|
@@ -185,7 +185,7 @@ module Google
|
|
185
185
|
#
|
186
186
|
# @param parent [::String]
|
187
187
|
# Required. The parent catalog resource name, such as
|
188
|
-
#
|
188
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch`.
|
189
189
|
# @param product [::Google::Cloud::Retail::V2::Product, ::Hash]
|
190
190
|
# Required. The {::Google::Cloud::Retail::V2::Product Product} to create.
|
191
191
|
# @param product_id [::String]
|
@@ -271,7 +271,7 @@ module Google
|
|
271
271
|
# @param name [::String]
|
272
272
|
# Required. Full resource name of {::Google::Cloud::Retail::V2::Product Product},
|
273
273
|
# such as
|
274
|
-
#
|
274
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
|
275
275
|
#
|
276
276
|
# If the caller does not have permission to access the
|
277
277
|
# {::Google::Cloud::Retail::V2::Product Product}, regardless of whether or not it
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @param name [::String]
|
428
428
|
# Required. Full resource name of {::Google::Cloud::Retail::V2::Product Product},
|
429
429
|
# such as
|
430
|
-
#
|
430
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
|
431
431
|
#
|
432
432
|
# If the caller does not have permission to delete the
|
433
433
|
# {::Google::Cloud::Retail::V2::Product Product}, regardless of whether or not it
|
@@ -507,7 +507,7 @@ module Google
|
|
507
507
|
#
|
508
508
|
# @param parent [::String]
|
509
509
|
# Required.
|
510
|
-
#
|
510
|
+
# `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
|
511
511
|
#
|
512
512
|
# If no updateMask is specified, requires products.create permission.
|
513
513
|
# If updateMask is specified, requires products.update permission.
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
#
|
185
185
|
# @param parent [::String]
|
186
186
|
# Required. The parent catalog resource name, such as
|
187
|
-
#
|
187
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
188
188
|
# @param user_event [::Google::Cloud::Retail::V2::UserEvent, ::Hash]
|
189
189
|
# Required. User event to write.
|
190
190
|
#
|
@@ -257,7 +257,7 @@ module Google
|
|
257
257
|
#
|
258
258
|
# @param parent [::String]
|
259
259
|
# Required. The parent catalog name, such as
|
260
|
-
#
|
260
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
261
261
|
# @param user_event [::String]
|
262
262
|
# Required. URL encoded UserEvent proto with a length limit of 2,000,000
|
263
263
|
# characters.
|
@@ -441,7 +441,7 @@ module Google
|
|
441
441
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
442
442
|
#
|
443
443
|
# @param parent [::String]
|
444
|
-
# Required.
|
444
|
+
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
445
445
|
# @param input_config [::Google::Cloud::Retail::V2::UserEventInputConfig, ::Hash]
|
446
446
|
# Required. The desired input location of the data.
|
447
447
|
# @param errors_config [::Google::Cloud::Retail::V2::ImportErrorsConfig, ::Hash]
|
@@ -520,7 +520,7 @@ module Google
|
|
520
520
|
#
|
521
521
|
# @param parent [::String]
|
522
522
|
# Required. The parent catalog resource name, such as
|
523
|
-
#
|
523
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
524
524
|
# @param user_event_rejoin_scope [::Google::Cloud::Retail::V2::RejoinUserEventsRequest::UserEventRejoinScope]
|
525
525
|
# The type of the user event rejoin to define the scope and range of the user
|
526
526
|
# events to be rejoined with the latest product catalog. Defaults to
|
@@ -27,10 +27,11 @@ module Google
|
|
27
27
|
# @return [::Array<::String>]
|
28
28
|
# Required. Google Cloud Storage URIs to input files. URI can be up to
|
29
29
|
# 2000 characters long. URIs can match the full object path (for example,
|
30
|
-
# gs://bucket/directory/object.json) or a pattern matching one or more
|
31
|
-
# files, such as gs://bucket/directory/*.json
|
30
|
+
# `gs://bucket/directory/object.json`) or a pattern matching one or more
|
31
|
+
# files, such as `gs://bucket/directory/*.json`. A request can
|
32
32
|
# contain at most 100 files, and each file can be up to 2 GB. See
|
33
|
-
# [Importing product
|
33
|
+
# [Importing product
|
34
|
+
# information](https://cloud.google.com/recommendations-ai/docs/upload-catalog)
|
34
35
|
# for the expected file format and setup instructions.
|
35
36
|
# @!attribute [rw] data_schema
|
36
37
|
# @return [::String]
|
@@ -42,7 +43,7 @@ module Google
|
|
42
43
|
# per line. Each product must
|
43
44
|
# have a valid {::Google::Cloud::Retail::V2::Product#id Product.id}.
|
44
45
|
# * `product_merchant_center`: See [Importing catalog data from Merchant
|
45
|
-
# Center](/retail/recommendations-ai/docs/upload-catalog#mc).
|
46
|
+
# Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc).
|
46
47
|
#
|
47
48
|
# Supported values for user events imports:
|
48
49
|
#
|
@@ -84,7 +85,7 @@ module Google
|
|
84
85
|
# per line. Each product must
|
85
86
|
# have a valid {::Google::Cloud::Retail::V2::Product#id Product.id}.
|
86
87
|
# * `product_merchant_center`: See [Importing catalog data from Merchant
|
87
|
-
# Center](/retail/recommendations-ai/docs/upload-catalog#mc).
|
88
|
+
# Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc).
|
88
89
|
#
|
89
90
|
# Supported values for user events imports:
|
90
91
|
#
|
@@ -133,7 +134,7 @@ module Google
|
|
133
134
|
# @!attribute [rw] parent
|
134
135
|
# @return [::String]
|
135
136
|
# Required.
|
136
|
-
#
|
137
|
+
# `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
|
137
138
|
#
|
138
139
|
# If no updateMask is specified, requires products.create permission.
|
139
140
|
# If updateMask is specified, requires products.update permission.
|
@@ -155,7 +156,7 @@ module Google
|
|
155
156
|
# Request message for the ImportUserEvents request.
|
156
157
|
# @!attribute [rw] parent
|
157
158
|
# @return [::String]
|
158
|
-
# Required.
|
159
|
+
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
159
160
|
# @!attribute [rw] input_config
|
160
161
|
# @return [::Google::Cloud::Retail::V2::UserEventInputConfig]
|
161
162
|
# Required. The desired input location of the data.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @!attribute [rw] name
|
27
27
|
# @return [::String]
|
28
28
|
# Immutable. Full resource name of the product, such as
|
29
|
-
#
|
29
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
30
30
|
#
|
31
31
|
# The branch ID must be "default_branch".
|
32
32
|
# @!attribute [rw] id
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# the final component of {::Google::Cloud::Retail::V2::Product#name name}. For
|
36
36
|
# example, this field is "id_1", if
|
37
37
|
# {::Google::Cloud::Retail::V2::Product#name name} is
|
38
|
-
#
|
38
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`.
|
39
39
|
#
|
40
40
|
# This field must be a UTF-8 encoded string with a length limit of 128
|
41
41
|
# characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
27
|
# Required. The parent catalog resource name, such as
|
28
|
-
#
|
28
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch`.
|
29
29
|
# @!attribute [rw] product
|
30
30
|
# @return [::Google::Cloud::Retail::V2::Product]
|
31
31
|
# Required. The {::Google::Cloud::Retail::V2::Product Product} to create.
|
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
# @return [::String]
|
57
57
|
# Required. Full resource name of {::Google::Cloud::Retail::V2::Product Product},
|
58
58
|
# such as
|
59
|
-
#
|
59
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
|
60
60
|
#
|
61
61
|
# If the caller does not have permission to access the
|
62
62
|
# {::Google::Cloud::Retail::V2::Product Product}, regardless of whether or not it
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# @return [::String]
|
100
100
|
# Required. Full resource name of {::Google::Cloud::Retail::V2::Product Product},
|
101
101
|
# such as
|
102
|
-
#
|
102
|
+
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
|
103
103
|
#
|
104
104
|
# If the caller does not have permission to delete the
|
105
105
|
# {::Google::Cloud::Retail::V2::Product Product}, regardless of whether or not it
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
27
|
# Required. The parent catalog resource name, such as
|
28
|
-
#
|
28
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
29
29
|
# @!attribute [rw] user_event
|
30
30
|
# @return [::Google::Cloud::Retail::V2::UserEvent]
|
31
31
|
# Required. User event to write.
|
@@ -38,7 +38,7 @@ module Google
|
|
38
38
|
# @!attribute [rw] parent
|
39
39
|
# @return [::String]
|
40
40
|
# Required. The parent catalog name, such as
|
41
|
-
#
|
41
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
42
42
|
# @!attribute [rw] user_event
|
43
43
|
# @return [::String]
|
44
44
|
# Required. URL encoded UserEvent proto with a length limit of 2,000,000
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
# @!attribute [rw] parent
|
64
64
|
# @return [::String]
|
65
65
|
# Required. The parent catalog resource name, such as
|
66
|
-
#
|
66
|
+
# `projects/1234/locations/global/catalogs/default_catalog`.
|
67
67
|
# @!attribute [rw] user_event_rejoin_scope
|
68
68
|
# @return [::Google::Cloud::Retail::V2::RejoinUserEventsRequest::UserEventRejoinScope]
|
69
69
|
# The type of the user event rejoin to define the scope and range of the user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-retail-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|