google-cloud-recommendation_engine-v1beta1 0.3.0 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/client.rb +59 -72
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +34 -25
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +45 -55
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +35 -43
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +55 -67
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +34 -25
- data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/api/httpbody.rb +4 -3
- data/proto_docs/google/cloud/recommendationengine/v1beta1/catalog_service.rb +4 -4
- data/proto_docs/google/cloud/recommendationengine/v1beta1/import.rb +4 -4
- data/proto_docs/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.rb +3 -3
- data/proto_docs/google/cloud/recommendationengine/v1beta1/prediction_service.rb +1 -1
- data/proto_docs/google/cloud/recommendationengine/v1beta1/user_event_service.rb +4 -4
- data/proto_docs/google/type/date.rb +14 -11
- metadata +13 -7
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -43,7 +43,8 @@ module Google
|
|
43
43
|
#
|
44
44
|
# service ResourceService {
|
45
45
|
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
46
|
-
# rpc UpdateResource(google.api.HttpBody) returns
|
46
|
+
# rpc UpdateResource(google.api.HttpBody) returns
|
47
|
+
# (google.protobuf.Empty);
|
47
48
|
# }
|
48
49
|
#
|
49
50
|
# Example with streaming methods:
|
@@ -59,10 +60,10 @@ module Google
|
|
59
60
|
# handled, all other features will continue to work unchanged.
|
60
61
|
# @!attribute [rw] content_type
|
61
62
|
# @return [::String]
|
62
|
-
# The HTTP Content-Type
|
63
|
+
# The HTTP Content-Type header value specifying the content type of the body.
|
63
64
|
# @!attribute [rw] data
|
64
65
|
# @return [::String]
|
65
|
-
# HTTP body binary
|
66
|
+
# The HTTP request/response body as raw binary.
|
66
67
|
# @!attribute [rw] extensions
|
67
68
|
# @return [::Array<::Google::Protobuf::Any>]
|
68
69
|
# Application specific response metadata. Must be set in the first response
|
@@ -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`.
|
29
29
|
# @!attribute [rw] catalog_item
|
30
30
|
# @return [::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem]
|
31
31
|
# Required. The catalog item to create.
|
@@ -38,7 +38,7 @@ module Google
|
|
38
38
|
# @!attribute [rw] name
|
39
39
|
# @return [::String]
|
40
40
|
# Required. Full resource name of catalog item, such as
|
41
|
-
#
|
41
|
+
# `projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id`.
|
42
42
|
class GetCatalogItemRequest
|
43
43
|
include ::Google::Protobuf::MessageExts
|
44
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# @!attribute [rw] parent
|
49
49
|
# @return [::String]
|
50
50
|
# Required. The parent catalog resource name, such as
|
51
|
-
#
|
51
|
+
# `projects/*/locations/global/catalogs/default_catalog`.
|
52
52
|
# @!attribute [rw] page_size
|
53
53
|
# @return [::Integer]
|
54
54
|
# Optional. Maximum number of results to return per page. If zero, the
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# @!attribute [rw] name
|
100
100
|
# @return [::String]
|
101
101
|
# Required. Full resource name of catalog item, such as
|
102
|
-
#
|
102
|
+
# `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`.
|
103
103
|
class DeleteCatalogItemRequest
|
104
104
|
include ::Google::Protobuf::MessageExts
|
105
105
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -27,8 +27,8 @@ 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
33
|
# [Importing catalog information](/recommendations-ai/docs/upload-catalog)
|
34
34
|
# for the expected file format and setup instructions.
|
@@ -71,7 +71,7 @@ module Google
|
|
71
71
|
# Request message for Import methods.
|
72
72
|
# @!attribute [rw] parent
|
73
73
|
# @return [::String]
|
74
|
-
# Required.
|
74
|
+
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
75
75
|
# @!attribute [rw] request_id
|
76
76
|
# @return [::String]
|
77
77
|
# Optional. Unique identifier provided by client, within the ancestor
|
@@ -93,7 +93,7 @@ module Google
|
|
93
93
|
# @!attribute [rw] parent
|
94
94
|
# @return [::String]
|
95
95
|
# Required.
|
96
|
-
#
|
96
|
+
# `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
|
97
97
|
# @!attribute [rw] request_id
|
98
98
|
# @return [::String]
|
99
99
|
# Optional. Unique identifier provided by client, within the ancestor
|
data/proto_docs/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.rb
CHANGED
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# @!attribute [rw] parent
|
35
35
|
# @return [::String]
|
36
36
|
# Required. The parent resource path.
|
37
|
-
#
|
37
|
+
# `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.
|
38
38
|
# @!attribute [rw] prediction_api_key_registration
|
39
39
|
# @return [::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration]
|
40
40
|
# Required. The prediction API key registration.
|
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
# @!attribute [rw] parent
|
48
48
|
# @return [::String]
|
49
49
|
# Required. The parent placement resource name such as
|
50
|
-
#
|
50
|
+
# `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
|
51
51
|
# @!attribute [rw] page_size
|
52
52
|
# @return [::Integer]
|
53
53
|
# Optional. Maximum number of results to return per page. If unset, the
|
@@ -77,7 +77,7 @@ module Google
|
|
77
77
|
# @!attribute [rw] name
|
78
78
|
# @return [::String]
|
79
79
|
# Required. The API key to unregister including full resource path.
|
80
|
-
#
|
80
|
+
# `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>`
|
81
81
|
class DeletePredictionApiKeyRegistrationRequest
|
82
82
|
include ::Google::Protobuf::MessageExts
|
83
83
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
27
|
# Required. Full resource name of the format:
|
28
|
-
#
|
28
|
+
# `{name=projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/placements/*}`
|
29
29
|
# The id of the recommendation engine placement. This id is used to identify
|
30
30
|
# the set of models that will be used to make the prediction.
|
31
31
|
#
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @return [::String]
|
27
27
|
# Required. The resource name of the event_store under which the events are
|
28
28
|
# created. The format is
|
29
|
-
#
|
29
|
+
# `projects/${projectId}/locations/global/catalogs/${catalogId}/eventStores/${eventStoreId}`
|
30
30
|
# @!attribute [rw] filter
|
31
31
|
# @return [::String]
|
32
32
|
# Required. The filter string to specify the events to be deleted. Empty
|
@@ -89,7 +89,7 @@ module Google
|
|
89
89
|
# @!attribute [rw] parent
|
90
90
|
# @return [::String]
|
91
91
|
# Required. The parent eventStore resource name, such as
|
92
|
-
#
|
92
|
+
# `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`.
|
93
93
|
# @!attribute [rw] user_event
|
94
94
|
# @return [::Google::Cloud::RecommendationEngine::V1beta1::UserEvent]
|
95
95
|
# Required. User event to write.
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# @!attribute [rw] parent
|
103
103
|
# @return [::String]
|
104
104
|
# Required. The parent eventStore name, such as
|
105
|
-
#
|
105
|
+
# `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`.
|
106
106
|
# @!attribute [rw] user_event
|
107
107
|
# @return [::String]
|
108
108
|
# Required. URL encoded UserEvent proto.
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
# @!attribute [rw] parent
|
127
127
|
# @return [::String]
|
128
128
|
# Required. The parent eventStore resource name, such as
|
129
|
-
#
|
129
|
+
# `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`.
|
130
130
|
# @!attribute [rw] page_size
|
131
131
|
# @return [::Integer]
|
132
132
|
# Optional. Maximum number of results to return per page. If zero, the
|
@@ -19,28 +19,31 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents a whole or partial calendar date,
|
23
|
-
# and time zone are either specified elsewhere or are
|
24
|
-
# is relative to the
|
22
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
23
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
25
|
+
# following:
|
25
26
|
#
|
26
|
-
# * A full date, with non-zero year, month and day values
|
27
|
-
# * A month and day value, with a zero year,
|
27
|
+
# * A full date, with non-zero year, month, and day values
|
28
|
+
# * A month and day value, with a zero year, such as an anniversary
|
28
29
|
# * A year on its own, with zero month and day values
|
29
|
-
# * A year and month value, with a zero day,
|
30
|
+
# * A year and month value, with a zero day, such as a credit card expiration
|
31
|
+
# date
|
30
32
|
#
|
31
|
-
# Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
33
|
+
# Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
34
|
+
# `google.protobuf.Timestamp`.
|
32
35
|
# @!attribute [rw] year
|
33
36
|
# @return [::Integer]
|
34
|
-
# Year of date. Must be from 1 to 9999, or 0
|
37
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
35
38
|
# a year.
|
36
39
|
# @!attribute [rw] month
|
37
40
|
# @return [::Integer]
|
38
|
-
# Month of year. Must be from 1 to 12, or 0
|
41
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a
|
39
42
|
# month and day.
|
40
43
|
# @!attribute [rw] day
|
41
44
|
# @return [::Integer]
|
42
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
43
|
-
#
|
45
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
|
46
|
+
# to specify a year by itself or a year and month where the day isn't
|
44
47
|
# significant.
|
45
48
|
class Date
|
46
49
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recommendation_engine-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
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-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -239,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
245
|
- !ruby/object:Gem::Version
|
240
246
|
version: '0'
|
241
247
|
requirements: []
|
242
|
-
rubygems_version: 3.2.
|
248
|
+
rubygems_version: 3.2.17
|
243
249
|
signing_key:
|
244
250
|
specification_version: 4
|
245
251
|
summary: API Client library for the Recommendations AI V1beta1 API
|