google-shopping-merchant-promotions-v1beta 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/shopping/merchant/promotions/v1beta/promotions_common_pb.rb +62 -0
  6. data/lib/google/shopping/merchant/promotions/v1beta/promotions_pb.rb +57 -0
  7. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/client.rb +642 -0
  8. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/credentials.rb +49 -0
  9. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/paths.rb +52 -0
  10. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/rest/client.rb +595 -0
  11. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/rest/service_stub.rb +249 -0
  12. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service/rest.rb +54 -0
  13. data/lib/google/shopping/merchant/promotions/v1beta/promotions_service.rb +57 -0
  14. data/lib/google/shopping/merchant/promotions/v1beta/promotions_services_pb.rb +60 -0
  15. data/lib/google/shopping/merchant/promotions/v1beta/rest.rb +39 -0
  16. data/lib/google/shopping/merchant/promotions/v1beta/version.rb +7 -2
  17. data/lib/google/shopping/merchant/promotions/v1beta.rb +47 -0
  18. data/lib/google-shopping-merchant-promotions-v1beta.rb +21 -0
  19. data/proto_docs/README.md +4 -0
  20. data/proto_docs/google/api/client.rb +399 -0
  21. data/proto_docs/google/api/field_behavior.rb +85 -0
  22. data/proto_docs/google/api/launch_stage.rb +71 -0
  23. data/proto_docs/google/api/resource.rb +222 -0
  24. data/proto_docs/google/protobuf/duration.rb +98 -0
  25. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  26. data/proto_docs/google/shopping/merchant/promotions/v1beta/promotions.rb +176 -0
  27. data/proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb +445 -0
  28. data/proto_docs/google/shopping/type/types.rb +210 -0
  29. data/proto_docs/google/type/interval.rb +45 -0
  30. metadata +89 -10
@@ -0,0 +1,249 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ require "google/shopping/merchant/promotions/v1beta/promotions_pb"
20
+
21
+ module Google
22
+ module Shopping
23
+ module Merchant
24
+ module Promotions
25
+ module V1beta
26
+ module PromotionsService
27
+ module Rest
28
+ ##
29
+ # REST service stub for the PromotionsService service.
30
+ # Service stub contains baseline method implementations
31
+ # including transcoding, making the REST call, and deserialing the response.
32
+ #
33
+ class ServiceStub
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
35
+ # These require statements are intentionally placed here to initialize
36
+ # the REST modules only when it's required.
37
+ require "gapic/rest"
38
+
39
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
40
+ endpoint_template: endpoint_template,
41
+ universe_domain: universe_domain,
42
+ credentials: credentials,
43
+ numeric_enums: true,
44
+ raise_faraday_errors: false
45
+ end
46
+
47
+ ##
48
+ # The effective universe domain
49
+ #
50
+ # @return [String]
51
+ #
52
+ def universe_domain
53
+ @client_stub.universe_domain
54
+ end
55
+
56
+ ##
57
+ # The effective endpoint
58
+ #
59
+ # @return [String]
60
+ #
61
+ def endpoint
62
+ @client_stub.endpoint
63
+ end
64
+
65
+ ##
66
+ # Baseline implementation for the insert_promotion REST call
67
+ #
68
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::InsertPromotionRequest]
69
+ # A request object representing the call parameters. Required.
70
+ # @param options [::Gapic::CallOptions]
71
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
72
+ #
73
+ # @yield [result, operation] Access the result along with the TransportOperation object
74
+ # @yieldparam result [::Google::Shopping::Merchant::Promotions::V1beta::Promotion]
75
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
76
+ #
77
+ # @return [::Google::Shopping::Merchant::Promotions::V1beta::Promotion]
78
+ # A result object deserialized from the server's reply
79
+ def insert_promotion request_pb, options = nil
80
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
81
+
82
+ verb, uri, query_string_params, body = ServiceStub.transcode_insert_promotion_request request_pb
83
+ query_string_params = if query_string_params.any?
84
+ query_string_params.to_h { |p| p.split "=", 2 }
85
+ else
86
+ {}
87
+ end
88
+
89
+ response = @client_stub.make_http_request(
90
+ verb,
91
+ uri: uri,
92
+ body: body || "",
93
+ params: query_string_params,
94
+ options: options
95
+ )
96
+ operation = ::Gapic::Rest::TransportOperation.new response
97
+ result = ::Google::Shopping::Merchant::Promotions::V1beta::Promotion.decode_json response.body, ignore_unknown_fields: true
98
+
99
+ yield result, operation if block_given?
100
+ result
101
+ end
102
+
103
+ ##
104
+ # Baseline implementation for the get_promotion REST call
105
+ #
106
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::GetPromotionRequest]
107
+ # A request object representing the call parameters. Required.
108
+ # @param options [::Gapic::CallOptions]
109
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
110
+ #
111
+ # @yield [result, operation] Access the result along with the TransportOperation object
112
+ # @yieldparam result [::Google::Shopping::Merchant::Promotions::V1beta::Promotion]
113
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
114
+ #
115
+ # @return [::Google::Shopping::Merchant::Promotions::V1beta::Promotion]
116
+ # A result object deserialized from the server's reply
117
+ def get_promotion request_pb, options = nil
118
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
119
+
120
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_promotion_request request_pb
121
+ query_string_params = if query_string_params.any?
122
+ query_string_params.to_h { |p| p.split "=", 2 }
123
+ else
124
+ {}
125
+ end
126
+
127
+ response = @client_stub.make_http_request(
128
+ verb,
129
+ uri: uri,
130
+ body: body || "",
131
+ params: query_string_params,
132
+ options: options
133
+ )
134
+ operation = ::Gapic::Rest::TransportOperation.new response
135
+ result = ::Google::Shopping::Merchant::Promotions::V1beta::Promotion.decode_json response.body, ignore_unknown_fields: true
136
+
137
+ yield result, operation if block_given?
138
+ result
139
+ end
140
+
141
+ ##
142
+ # Baseline implementation for the list_promotions REST call
143
+ #
144
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsRequest]
145
+ # A request object representing the call parameters. Required.
146
+ # @param options [::Gapic::CallOptions]
147
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
148
+ #
149
+ # @yield [result, operation] Access the result along with the TransportOperation object
150
+ # @yieldparam result [::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsResponse]
151
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
152
+ #
153
+ # @return [::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsResponse]
154
+ # A result object deserialized from the server's reply
155
+ def list_promotions request_pb, options = nil
156
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
157
+
158
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_promotions_request request_pb
159
+ query_string_params = if query_string_params.any?
160
+ query_string_params.to_h { |p| p.split "=", 2 }
161
+ else
162
+ {}
163
+ end
164
+
165
+ response = @client_stub.make_http_request(
166
+ verb,
167
+ uri: uri,
168
+ body: body || "",
169
+ params: query_string_params,
170
+ options: options
171
+ )
172
+ operation = ::Gapic::Rest::TransportOperation.new response
173
+ result = ::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsResponse.decode_json response.body, ignore_unknown_fields: true
174
+
175
+ yield result, operation if block_given?
176
+ result
177
+ end
178
+
179
+ ##
180
+ # @private
181
+ #
182
+ # GRPC transcoding helper method for the insert_promotion REST call
183
+ #
184
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::InsertPromotionRequest]
185
+ # A request object representing the call parameters. Required.
186
+ # @return [Array(String, [String, nil], Hash{String => String})]
187
+ # Uri, Body, Query string parameters
188
+ def self.transcode_insert_promotion_request request_pb
189
+ transcoder = Gapic::Rest::GrpcTranscoder.new
190
+ .with_bindings(
191
+ uri_method: :post,
192
+ uri_template: "/promotions/v1beta/{parent}/promotions:insert",
193
+ body: "*",
194
+ matches: [
195
+ ["parent", %r{^accounts/[^/]+/?$}, false]
196
+ ]
197
+ )
198
+ transcoder.transcode request_pb
199
+ end
200
+
201
+ ##
202
+ # @private
203
+ #
204
+ # GRPC transcoding helper method for the get_promotion REST call
205
+ #
206
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::GetPromotionRequest]
207
+ # A request object representing the call parameters. Required.
208
+ # @return [Array(String, [String, nil], Hash{String => String})]
209
+ # Uri, Body, Query string parameters
210
+ def self.transcode_get_promotion_request request_pb
211
+ transcoder = Gapic::Rest::GrpcTranscoder.new
212
+ .with_bindings(
213
+ uri_method: :get,
214
+ uri_template: "/promotions/v1beta/{name}",
215
+ matches: [
216
+ ["name", %r{^accounts/[^/]+/promotions/[^/]+/?$}, false]
217
+ ]
218
+ )
219
+ transcoder.transcode request_pb
220
+ end
221
+
222
+ ##
223
+ # @private
224
+ #
225
+ # GRPC transcoding helper method for the list_promotions REST call
226
+ #
227
+ # @param request_pb [::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsRequest]
228
+ # A request object representing the call parameters. Required.
229
+ # @return [Array(String, [String, nil], Hash{String => String})]
230
+ # Uri, Body, Query string parameters
231
+ def self.transcode_list_promotions_request request_pb
232
+ transcoder = Gapic::Rest::GrpcTranscoder.new
233
+ .with_bindings(
234
+ uri_method: :get,
235
+ uri_template: "/promotions/v1beta/{parent}/promotions",
236
+ matches: [
237
+ ["parent", %r{^accounts/[^/]+/?$}, false]
238
+ ]
239
+ )
240
+ transcoder.transcode request_pb
241
+ end
242
+ end
243
+ end
244
+ end
245
+ end
246
+ end
247
+ end
248
+ end
249
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/shopping/merchant/promotions/v1beta/version"
24
+
25
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/credentials"
26
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/paths"
27
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/rest/client"
28
+
29
+ module Google
30
+ module Shopping
31
+ module Merchant
32
+ module Promotions
33
+ module V1beta
34
+ ##
35
+ # Service to manage promotions for products.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/shopping/merchant/promotions/v1beta/promotions_service/rest"
40
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Rest::Client.new
41
+ #
42
+ module PromotionsService
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/shopping/merchant/promotions/v1beta/version"
24
+
25
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/credentials"
26
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/paths"
27
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/client"
28
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/rest"
29
+
30
+ module Google
31
+ module Shopping
32
+ module Merchant
33
+ module Promotions
34
+ module V1beta
35
+ ##
36
+ # Service to manage promotions for products.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/shopping/merchant/promotions/v1beta/promotions_service"
41
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/shopping/merchant/promotions/v1beta/promotions_service/rest"
46
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Rest::Client.new
47
+ #
48
+ module PromotionsService
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ helper_path = ::File.join __dir__, "promotions_service", "helpers.rb"
57
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,60 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/shopping/merchant/promotions/v1beta/promotions.proto for package 'google.shopping.merchant.promotions.v1beta'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/shopping/merchant/promotions/v1beta/promotions_pb'
21
+
22
+ module Google
23
+ module Shopping
24
+ module Merchant
25
+ module Promotions
26
+ module V1beta
27
+ module PromotionsService
28
+ # Service to manage promotions for products.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.shopping.merchant.promotions.v1beta.PromotionsService'
36
+
37
+ # Inserts a promotion for your Merchant Center account. If the promotion
38
+ # already exists, then it updates the promotion instead.
39
+ rpc :InsertPromotion, ::Google::Shopping::Merchant::Promotions::V1beta::InsertPromotionRequest, ::Google::Shopping::Merchant::Promotions::V1beta::Promotion
40
+ # Retrieves the promotion from your Merchant Center account.
41
+ #
42
+ # After inserting or updating a promotion input, it may take several
43
+ # minutes before the updated promotion can be retrieved.
44
+ rpc :GetPromotion, ::Google::Shopping::Merchant::Promotions::V1beta::GetPromotionRequest, ::Google::Shopping::Merchant::Promotions::V1beta::Promotion
45
+ # Lists the promotions in your Merchant Center account. The
46
+ # response might contain fewer items than specified by `pageSize`. Rely on
47
+ # `pageToken` to determine if there are more items to be requested.
48
+ #
49
+ # After inserting or updating a promotion, it may take several minutes before
50
+ # the updated processed promotion can be retrieved.
51
+ rpc :ListPromotions, ::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsRequest, ::Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsResponse
52
+ end
53
+
54
+ Stub = Service.rpc_stub_class
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ require "google/shopping/merchant/promotions/v1beta/promotions_service/rest"
20
+ require "google/shopping/merchant/promotions/v1beta/version"
21
+
22
+ module Google
23
+ module Shopping
24
+ module Merchant
25
+ module Promotions
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/shopping/merchant/promotions/v1beta/rest"
32
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Rest::Client.new
33
+ #
34
+ module V1beta
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2024 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,12 +14,15 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Shopping
17
22
  module Merchant
18
23
  module Promotions
19
24
  module V1beta
20
- VERSION = "0.a"
25
+ VERSION = "0.1.0"
21
26
  end
22
27
  end
23
28
  end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ require "google/shopping/merchant/promotions/v1beta/promotions_service"
20
+ require "google/shopping/merchant/promotions/v1beta/version"
21
+
22
+ module Google
23
+ module Shopping
24
+ module Merchant
25
+ module Promotions
26
+ ##
27
+ # API client module.
28
+ #
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
+ #
31
+ # require "google/shopping/merchant/promotions/v1beta"
32
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Client.new
33
+ #
34
+ # @example Load this package, including all its services, and instantiate a REST client
35
+ #
36
+ # require "google/shopping/merchant/promotions/v1beta"
37
+ # client = ::Google::Shopping::Merchant::Promotions::V1beta::PromotionsService::Rest::Client.new
38
+ #
39
+ module V1beta
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+
46
+ helper_path = ::File.join __dir__, "v1beta", "_helpers.rb"
47
+ require "google/shopping/merchant/promotions/v1beta/_helpers" if ::File.file? helper_path
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/shopping/merchant/promotions/v1beta"
@@ -0,0 +1,4 @@
1
+ # Merchant V1BETA Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.