google-cloud-retail-v2 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/retail/v2/catalog_pb.rb +55 -0
  3. data/lib/google/cloud/retail/v2/catalog_service/client.rb +718 -0
  4. data/lib/google/cloud/retail/v2/catalog_service/paths.rb +38 -0
  5. data/lib/google/cloud/retail/v2/catalog_service_pb.rb +34 -0
  6. data/lib/google/cloud/retail/v2/catalog_service_services_pb.rb +38 -0
  7. data/lib/google/cloud/retail/v2/common_pb.rb +86 -0
  8. data/lib/google/cloud/retail/v2/completion_service/client.rb +4 -3
  9. data/lib/google/cloud/retail/v2/control_pb.rb +33 -0
  10. data/lib/google/cloud/retail/v2/control_service/client.rb +807 -0
  11. data/lib/google/cloud/retail/v2/control_service/credentials.rb +51 -0
  12. data/lib/google/cloud/retail/v2/control_service/paths.rb +73 -0
  13. data/lib/google/cloud/retail/v2/control_service.rb +49 -0
  14. data/lib/google/cloud/retail/v2/control_service_pb.rb +57 -0
  15. data/lib/google/cloud/retail/v2/control_service_services_pb.rb +65 -0
  16. data/lib/google/cloud/retail/v2/prediction_service_pb.rb +0 -1
  17. data/lib/google/cloud/retail/v2/product_pb.rb +1 -0
  18. data/lib/google/cloud/retail/v2/product_service/client.rb +42 -12
  19. data/lib/google/cloud/retail/v2/product_service_services_pb.rb +35 -0
  20. data/lib/google/cloud/retail/v2/search_service/client.rb +12 -1
  21. data/lib/google/cloud/retail/v2/search_service_pb.rb +1 -0
  22. data/lib/google/cloud/retail/v2/serving_config_pb.rb +44 -0
  23. data/lib/google/cloud/retail/v2/serving_config_service/client.rb +998 -0
  24. data/lib/google/cloud/retail/v2/serving_config_service/credentials.rb +51 -0
  25. data/lib/google/cloud/retail/v2/serving_config_service/paths.rb +73 -0
  26. data/lib/google/cloud/retail/v2/serving_config_service.rb +49 -0
  27. data/lib/google/cloud/retail/v2/serving_config_service_pb.rb +66 -0
  28. data/lib/google/cloud/retail/v2/serving_config_service_services_pb.rb +74 -0
  29. data/lib/google/cloud/retail/v2/user_event_service/client.rb +2 -2
  30. data/lib/google/cloud/retail/v2/user_event_service_pb.rb +0 -1
  31. data/lib/google/cloud/retail/v2/user_event_service_services_pb.rb +2 -2
  32. data/lib/google/cloud/retail/v2/version.rb +1 -1
  33. data/lib/google/cloud/retail/v2.rb +2 -0
  34. data/proto_docs/google/cloud/retail/v2/catalog.rb +233 -0
  35. data/proto_docs/google/cloud/retail/v2/catalog_service.rb +133 -0
  36. data/proto_docs/google/cloud/retail/v2/common.rb +314 -4
  37. data/proto_docs/google/cloud/retail/v2/completion_service.rb +2 -1
  38. data/proto_docs/google/cloud/retail/v2/control.rb +76 -0
  39. data/proto_docs/google/cloud/retail/v2/control_service.rb +122 -0
  40. data/proto_docs/google/cloud/retail/v2/import_config.rb +20 -35
  41. data/proto_docs/google/cloud/retail/v2/product.rb +7 -1
  42. data/proto_docs/google/cloud/retail/v2/search_service.rb +29 -2
  43. data/proto_docs/google/cloud/retail/v2/serving_config.rb +238 -0
  44. data/proto_docs/google/cloud/retail/v2/serving_config_service.rb +143 -0
  45. metadata +20 -2
@@ -0,0 +1,143 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Retail
23
+ module V2
24
+ # Request for CreateServingConfig method.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Full resource name of parent. Format:
28
+ # `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
29
+ # @!attribute [rw] serving_config
30
+ # @return [::Google::Cloud::Retail::V2::ServingConfig]
31
+ # Required. The ServingConfig to create.
32
+ # @!attribute [rw] serving_config_id
33
+ # @return [::String]
34
+ # Required. The ID to use for the ServingConfig, which will become the final
35
+ # component of the ServingConfig's resource name.
36
+ #
37
+ # This value should be 4-63 characters, and valid characters
38
+ # are /[a-z][0-9]-_/.
39
+ class CreateServingConfigRequest
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Request for UpdateServingConfig method.
45
+ # @!attribute [rw] serving_config
46
+ # @return [::Google::Cloud::Retail::V2::ServingConfig]
47
+ # Required. The ServingConfig to update.
48
+ # @!attribute [rw] update_mask
49
+ # @return [::Google::Protobuf::FieldMask]
50
+ # Indicates which fields in the provided
51
+ # {::Google::Cloud::Retail::V2::ServingConfig ServingConfig} to update. The
52
+ # following are NOT supported:
53
+ #
54
+ # * {::Google::Cloud::Retail::V2::ServingConfig#name ServingConfig.name}
55
+ #
56
+ # If not set, all supported fields are updated.
57
+ class UpdateServingConfigRequest
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # Request for DeleteServingConfig method.
63
+ # @!attribute [rw] name
64
+ # @return [::String]
65
+ # Required. The resource name of the ServingConfig to delete. Format:
66
+ # projects/\\{project_number}/locations/\\{location_id}/catalogs/\\{catalog_id}/servingConfigs/\\{serving_config_id}
67
+ class DeleteServingConfigRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # Request for GetServingConfig method.
73
+ # @!attribute [rw] name
74
+ # @return [::String]
75
+ # Required. The resource name of the ServingConfig to get. Format:
76
+ # projects/\\{project_number}/locations/\\{location_id}/catalogs/\\{catalog_id}/servingConfigs/\\{serving_config_id}
77
+ class GetServingConfigRequest
78
+ include ::Google::Protobuf::MessageExts
79
+ extend ::Google::Protobuf::MessageExts::ClassMethods
80
+ end
81
+
82
+ # Request for ListServingConfigs method.
83
+ # @!attribute [rw] parent
84
+ # @return [::String]
85
+ # Required. The catalog resource name. Format:
86
+ # projects/\\{project_number}/locations/\\{location_id}/catalogs/\\{catalog_id}
87
+ # @!attribute [rw] page_size
88
+ # @return [::Integer]
89
+ # Optional. Maximum number of results to return. If unspecified, defaults
90
+ # to 100. If a value greater than 100 is provided, at most 100 results are
91
+ # returned.
92
+ # @!attribute [rw] page_token
93
+ # @return [::String]
94
+ # Optional. A page token, received from a previous `ListServingConfigs` call.
95
+ # Provide this to retrieve the subsequent page.
96
+ class ListServingConfigsRequest
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+ end
100
+
101
+ # Response for ListServingConfigs method.
102
+ # @!attribute [rw] serving_configs
103
+ # @return [::Array<::Google::Cloud::Retail::V2::ServingConfig>]
104
+ # All the ServingConfigs for a given catalog.
105
+ # @!attribute [rw] next_page_token
106
+ # @return [::String]
107
+ # Pagination token, if not returned indicates the last page.
108
+ class ListServingConfigsResponse
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # Request for AddControl method.
114
+ # @!attribute [rw] serving_config
115
+ # @return [::String]
116
+ # Required. The source ServingConfig resource name . Format:
117
+ # projects/\\{project_number}/locations/\\{location_id}/catalogs/\\{catalog_id}/servingConfigs/\\{serving_config_id}
118
+ # @!attribute [rw] control_id
119
+ # @return [::String]
120
+ # Required. The id of the control to apply. Assumed to be in the same catalog
121
+ # as the serving config - if id is not found a NOT_FOUND error is returned.
122
+ class AddControlRequest
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
126
+
127
+ # Request for RemoveControl method.
128
+ # @!attribute [rw] serving_config
129
+ # @return [::String]
130
+ # Required. The source ServingConfig resource name . Format:
131
+ # projects/\\{project_number}/locations/\\{location_id}/catalogs/\\{catalog_id}/servingConfigs/\\{serving_config_id}
132
+ # @!attribute [rw] control_id
133
+ # @return [::String]
134
+ # Required. The id of the control to apply. Assumed to be in the same catalog
135
+ # as the serving config.
136
+ class RemoveControlRequest
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+ end
141
+ end
142
+ end
143
+ end
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.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -187,6 +187,13 @@ files:
187
187
  - lib/google/cloud/retail/v2/completion_service/paths.rb
188
188
  - lib/google/cloud/retail/v2/completion_service_pb.rb
189
189
  - lib/google/cloud/retail/v2/completion_service_services_pb.rb
190
+ - lib/google/cloud/retail/v2/control_pb.rb
191
+ - lib/google/cloud/retail/v2/control_service.rb
192
+ - lib/google/cloud/retail/v2/control_service/client.rb
193
+ - lib/google/cloud/retail/v2/control_service/credentials.rb
194
+ - lib/google/cloud/retail/v2/control_service/paths.rb
195
+ - lib/google/cloud/retail/v2/control_service_pb.rb
196
+ - lib/google/cloud/retail/v2/control_service_services_pb.rb
190
197
  - lib/google/cloud/retail/v2/import_config_pb.rb
191
198
  - lib/google/cloud/retail/v2/prediction_service.rb
192
199
  - lib/google/cloud/retail/v2/prediction_service/client.rb
@@ -210,6 +217,13 @@ files:
210
217
  - lib/google/cloud/retail/v2/search_service/paths.rb
211
218
  - lib/google/cloud/retail/v2/search_service_pb.rb
212
219
  - lib/google/cloud/retail/v2/search_service_services_pb.rb
220
+ - lib/google/cloud/retail/v2/serving_config_pb.rb
221
+ - lib/google/cloud/retail/v2/serving_config_service.rb
222
+ - lib/google/cloud/retail/v2/serving_config_service/client.rb
223
+ - lib/google/cloud/retail/v2/serving_config_service/credentials.rb
224
+ - lib/google/cloud/retail/v2/serving_config_service/paths.rb
225
+ - lib/google/cloud/retail/v2/serving_config_service_pb.rb
226
+ - lib/google/cloud/retail/v2/serving_config_service_services_pb.rb
213
227
  - lib/google/cloud/retail/v2/user_event_pb.rb
214
228
  - lib/google/cloud/retail/v2/user_event_service.rb
215
229
  - lib/google/cloud/retail/v2/user_event_service/client.rb
@@ -227,6 +241,8 @@ files:
227
241
  - proto_docs/google/cloud/retail/v2/catalog_service.rb
228
242
  - proto_docs/google/cloud/retail/v2/common.rb
229
243
  - proto_docs/google/cloud/retail/v2/completion_service.rb
244
+ - proto_docs/google/cloud/retail/v2/control.rb
245
+ - proto_docs/google/cloud/retail/v2/control_service.rb
230
246
  - proto_docs/google/cloud/retail/v2/import_config.rb
231
247
  - proto_docs/google/cloud/retail/v2/prediction_service.rb
232
248
  - proto_docs/google/cloud/retail/v2/product.rb
@@ -234,6 +250,8 @@ files:
234
250
  - proto_docs/google/cloud/retail/v2/promotion.rb
235
251
  - proto_docs/google/cloud/retail/v2/purge_config.rb
236
252
  - proto_docs/google/cloud/retail/v2/search_service.rb
253
+ - proto_docs/google/cloud/retail/v2/serving_config.rb
254
+ - proto_docs/google/cloud/retail/v2/serving_config_service.rb
237
255
  - proto_docs/google/cloud/retail/v2/user_event.rb
238
256
  - proto_docs/google/cloud/retail/v2/user_event_service.rb
239
257
  - proto_docs/google/longrunning/operations.rb