google-ads-marketing_platform-admin-v1alpha 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +154 -0
  6. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/client.rb +877 -0
  7. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/credentials.rb +50 -0
  8. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/paths.rb +94 -0
  9. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/client.rb +816 -0
  10. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/service_stub.rb +390 -0
  11. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest.rb +54 -0
  12. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service.rb +57 -0
  13. data/lib/google/ads/marketing_platform/admin/v1alpha/rest.rb +39 -0
  14. data/lib/google/ads/marketing_platform/admin/v1alpha/version.rb +30 -0
  15. data/lib/google/ads/marketing_platform/admin/v1alpha.rb +47 -0
  16. data/lib/google/marketingplatform/admin/v1alpha/marketingplatform_admin_pb.rb +59 -0
  17. data/lib/google/marketingplatform/admin/v1alpha/marketingplatform_admin_services_pb.rb +65 -0
  18. data/lib/google/marketingplatform/admin/v1alpha/resources_pb.rb +49 -0
  19. data/lib/google-ads-marketing_platform-admin-v1alpha.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +473 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/launch_stage.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +227 -0
  25. data/proto_docs/google/marketingplatform/admin/v1alpha/marketingplatform_admin.rb +138 -0
  26. data/proto_docs/google/marketingplatform/admin/v1alpha/resources.rb +84 -0
  27. data/proto_docs/google/protobuf/duration.rb +98 -0
  28. data/proto_docs/google/protobuf/empty.rb +34 -0
  29. metadata +103 -0
@@ -0,0 +1,390 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/marketingplatform/admin/v1alpha/marketingplatform_admin_pb"
20
+
21
+ module Google
22
+ module Ads
23
+ module MarketingPlatform
24
+ module Admin
25
+ module V1alpha
26
+ module MarketingplatformAdminService
27
+ module Rest
28
+ ##
29
+ # REST service stub for the MarketingplatformAdminService service.
30
+ # Service stub contains baseline method implementations
31
+ # including transcoding, making the REST call, and deserialing the response.
32
+ #
33
+ class ServiceStub
34
+ # @private
35
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
36
+ # These require statements are intentionally placed here to initialize
37
+ # the REST modules only when it's required.
38
+ require "gapic/rest"
39
+
40
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
41
+ endpoint_template: endpoint_template,
42
+ universe_domain: universe_domain,
43
+ credentials: credentials,
44
+ numeric_enums: true,
45
+ service_name: self.class,
46
+ raise_faraday_errors: false,
47
+ logger: logger
48
+ end
49
+
50
+ ##
51
+ # The effective universe domain
52
+ #
53
+ # @return [String]
54
+ #
55
+ def universe_domain
56
+ @client_stub.universe_domain
57
+ end
58
+
59
+ ##
60
+ # The effective endpoint
61
+ #
62
+ # @return [String]
63
+ #
64
+ def endpoint
65
+ @client_stub.endpoint
66
+ end
67
+
68
+ ##
69
+ # The logger used for request/response debug logging.
70
+ #
71
+ # @return [Logger]
72
+ #
73
+ def logger stub: false
74
+ stub ? @client_stub.stub_logger : @client_stub.logger
75
+ end
76
+
77
+ ##
78
+ # Baseline implementation for the get_organization REST call
79
+ #
80
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::GetOrganizationRequest]
81
+ # A request object representing the call parameters. Required.
82
+ # @param options [::Gapic::CallOptions]
83
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
84
+ #
85
+ # @yield [result, operation] Access the result along with the TransportOperation object
86
+ # @yieldparam result [::Google::Ads::MarketingPlatform::Admin::V1alpha::Organization]
87
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
88
+ #
89
+ # @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::Organization]
90
+ # A result object deserialized from the server's reply
91
+ def get_organization request_pb, options = nil
92
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
93
+
94
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_organization_request request_pb
95
+ query_string_params = if query_string_params.any?
96
+ query_string_params.to_h { |p| p.split "=", 2 }
97
+ else
98
+ {}
99
+ end
100
+
101
+ response = @client_stub.make_http_request(
102
+ verb,
103
+ uri: uri,
104
+ body: body || "",
105
+ params: query_string_params,
106
+ method_name: "get_organization",
107
+ options: options
108
+ )
109
+ operation = ::Gapic::Rest::TransportOperation.new response
110
+ result = ::Google::Ads::MarketingPlatform::Admin::V1alpha::Organization.decode_json response.body, ignore_unknown_fields: true
111
+ catch :response do
112
+ yield result, operation if block_given?
113
+ result
114
+ end
115
+ end
116
+
117
+ ##
118
+ # Baseline implementation for the list_analytics_account_links REST call
119
+ #
120
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::ListAnalyticsAccountLinksRequest]
121
+ # A request object representing the call parameters. Required.
122
+ # @param options [::Gapic::CallOptions]
123
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
124
+ #
125
+ # @yield [result, operation] Access the result along with the TransportOperation object
126
+ # @yieldparam result [::Google::Ads::MarketingPlatform::Admin::V1alpha::ListAnalyticsAccountLinksResponse]
127
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
128
+ #
129
+ # @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::ListAnalyticsAccountLinksResponse]
130
+ # A result object deserialized from the server's reply
131
+ def list_analytics_account_links request_pb, options = nil
132
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
133
+
134
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_analytics_account_links_request request_pb
135
+ query_string_params = if query_string_params.any?
136
+ query_string_params.to_h { |p| p.split "=", 2 }
137
+ else
138
+ {}
139
+ end
140
+
141
+ response = @client_stub.make_http_request(
142
+ verb,
143
+ uri: uri,
144
+ body: body || "",
145
+ params: query_string_params,
146
+ method_name: "list_analytics_account_links",
147
+ options: options
148
+ )
149
+ operation = ::Gapic::Rest::TransportOperation.new response
150
+ result = ::Google::Ads::MarketingPlatform::Admin::V1alpha::ListAnalyticsAccountLinksResponse.decode_json response.body, ignore_unknown_fields: true
151
+ catch :response do
152
+ yield result, operation if block_given?
153
+ result
154
+ end
155
+ end
156
+
157
+ ##
158
+ # Baseline implementation for the create_analytics_account_link REST call
159
+ #
160
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::CreateAnalyticsAccountLinkRequest]
161
+ # A request object representing the call parameters. Required.
162
+ # @param options [::Gapic::CallOptions]
163
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
164
+ #
165
+ # @yield [result, operation] Access the result along with the TransportOperation object
166
+ # @yieldparam result [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsAccountLink]
167
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
168
+ #
169
+ # @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsAccountLink]
170
+ # A result object deserialized from the server's reply
171
+ def create_analytics_account_link request_pb, options = nil
172
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
173
+
174
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_analytics_account_link_request request_pb
175
+ query_string_params = if query_string_params.any?
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
+ else
178
+ {}
179
+ end
180
+
181
+ response = @client_stub.make_http_request(
182
+ verb,
183
+ uri: uri,
184
+ body: body || "",
185
+ params: query_string_params,
186
+ method_name: "create_analytics_account_link",
187
+ options: options
188
+ )
189
+ operation = ::Gapic::Rest::TransportOperation.new response
190
+ result = ::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsAccountLink.decode_json response.body, ignore_unknown_fields: true
191
+ catch :response do
192
+ yield result, operation if block_given?
193
+ result
194
+ end
195
+ end
196
+
197
+ ##
198
+ # Baseline implementation for the delete_analytics_account_link REST call
199
+ #
200
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::DeleteAnalyticsAccountLinkRequest]
201
+ # A request object representing the call parameters. Required.
202
+ # @param options [::Gapic::CallOptions]
203
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
204
+ #
205
+ # @yield [result, operation] Access the result along with the TransportOperation object
206
+ # @yieldparam result [::Google::Protobuf::Empty]
207
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
208
+ #
209
+ # @return [::Google::Protobuf::Empty]
210
+ # A result object deserialized from the server's reply
211
+ def delete_analytics_account_link request_pb, options = nil
212
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
213
+
214
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_analytics_account_link_request request_pb
215
+ query_string_params = if query_string_params.any?
216
+ query_string_params.to_h { |p| p.split "=", 2 }
217
+ else
218
+ {}
219
+ end
220
+
221
+ response = @client_stub.make_http_request(
222
+ verb,
223
+ uri: uri,
224
+ body: body || "",
225
+ params: query_string_params,
226
+ method_name: "delete_analytics_account_link",
227
+ options: options
228
+ )
229
+ operation = ::Gapic::Rest::TransportOperation.new response
230
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
231
+ catch :response do
232
+ yield result, operation if block_given?
233
+ result
234
+ end
235
+ end
236
+
237
+ ##
238
+ # Baseline implementation for the set_property_service_level REST call
239
+ #
240
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::SetPropertyServiceLevelRequest]
241
+ # A request object representing the call parameters. Required.
242
+ # @param options [::Gapic::CallOptions]
243
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
244
+ #
245
+ # @yield [result, operation] Access the result along with the TransportOperation object
246
+ # @yieldparam result [::Google::Ads::MarketingPlatform::Admin::V1alpha::SetPropertyServiceLevelResponse]
247
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
248
+ #
249
+ # @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::SetPropertyServiceLevelResponse]
250
+ # A result object deserialized from the server's reply
251
+ def set_property_service_level request_pb, options = nil
252
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
253
+
254
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_property_service_level_request request_pb
255
+ query_string_params = if query_string_params.any?
256
+ query_string_params.to_h { |p| p.split "=", 2 }
257
+ else
258
+ {}
259
+ end
260
+
261
+ response = @client_stub.make_http_request(
262
+ verb,
263
+ uri: uri,
264
+ body: body || "",
265
+ params: query_string_params,
266
+ method_name: "set_property_service_level",
267
+ options: options
268
+ )
269
+ operation = ::Gapic::Rest::TransportOperation.new response
270
+ result = ::Google::Ads::MarketingPlatform::Admin::V1alpha::SetPropertyServiceLevelResponse.decode_json response.body, ignore_unknown_fields: true
271
+ catch :response do
272
+ yield result, operation if block_given?
273
+ result
274
+ end
275
+ end
276
+
277
+ ##
278
+ # @private
279
+ #
280
+ # GRPC transcoding helper method for the get_organization REST call
281
+ #
282
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::GetOrganizationRequest]
283
+ # A request object representing the call parameters. Required.
284
+ # @return [Array(String, [String, nil], Hash{String => String})]
285
+ # Uri, Body, Query string parameters
286
+ def self.transcode_get_organization_request request_pb
287
+ transcoder = Gapic::Rest::GrpcTranscoder.new
288
+ .with_bindings(
289
+ uri_method: :get,
290
+ uri_template: "/v1alpha/{name}",
291
+ matches: [
292
+ ["name", %r{^organizations/[^/]+/?$}, false]
293
+ ]
294
+ )
295
+ transcoder.transcode request_pb
296
+ end
297
+
298
+ ##
299
+ # @private
300
+ #
301
+ # GRPC transcoding helper method for the list_analytics_account_links REST call
302
+ #
303
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::ListAnalyticsAccountLinksRequest]
304
+ # A request object representing the call parameters. Required.
305
+ # @return [Array(String, [String, nil], Hash{String => String})]
306
+ # Uri, Body, Query string parameters
307
+ def self.transcode_list_analytics_account_links_request request_pb
308
+ transcoder = Gapic::Rest::GrpcTranscoder.new
309
+ .with_bindings(
310
+ uri_method: :get,
311
+ uri_template: "/v1alpha/{parent}/analyticsAccountLinks",
312
+ matches: [
313
+ ["parent", %r{^organizations/[^/]+/?$}, false]
314
+ ]
315
+ )
316
+ transcoder.transcode request_pb
317
+ end
318
+
319
+ ##
320
+ # @private
321
+ #
322
+ # GRPC transcoding helper method for the create_analytics_account_link REST call
323
+ #
324
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::CreateAnalyticsAccountLinkRequest]
325
+ # A request object representing the call parameters. Required.
326
+ # @return [Array(String, [String, nil], Hash{String => String})]
327
+ # Uri, Body, Query string parameters
328
+ def self.transcode_create_analytics_account_link_request request_pb
329
+ transcoder = Gapic::Rest::GrpcTranscoder.new
330
+ .with_bindings(
331
+ uri_method: :post,
332
+ uri_template: "/v1alpha/{parent}/analyticsAccountLinks",
333
+ body: "analytics_account_link",
334
+ matches: [
335
+ ["parent", %r{^organizations/[^/]+/?$}, false]
336
+ ]
337
+ )
338
+ transcoder.transcode request_pb
339
+ end
340
+
341
+ ##
342
+ # @private
343
+ #
344
+ # GRPC transcoding helper method for the delete_analytics_account_link REST call
345
+ #
346
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::DeleteAnalyticsAccountLinkRequest]
347
+ # A request object representing the call parameters. Required.
348
+ # @return [Array(String, [String, nil], Hash{String => String})]
349
+ # Uri, Body, Query string parameters
350
+ def self.transcode_delete_analytics_account_link_request request_pb
351
+ transcoder = Gapic::Rest::GrpcTranscoder.new
352
+ .with_bindings(
353
+ uri_method: :delete,
354
+ uri_template: "/v1alpha/{name}",
355
+ matches: [
356
+ ["name", %r{^organizations/[^/]+/analyticsAccountLinks/[^/]+/?$}, false]
357
+ ]
358
+ )
359
+ transcoder.transcode request_pb
360
+ end
361
+
362
+ ##
363
+ # @private
364
+ #
365
+ # GRPC transcoding helper method for the set_property_service_level REST call
366
+ #
367
+ # @param request_pb [::Google::Ads::MarketingPlatform::Admin::V1alpha::SetPropertyServiceLevelRequest]
368
+ # A request object representing the call parameters. Required.
369
+ # @return [Array(String, [String, nil], Hash{String => String})]
370
+ # Uri, Body, Query string parameters
371
+ def self.transcode_set_property_service_level_request request_pb
372
+ transcoder = Gapic::Rest::GrpcTranscoder.new
373
+ .with_bindings(
374
+ uri_method: :post,
375
+ uri_template: "/v1alpha/{analytics_account_link}:setPropertyServiceLevel",
376
+ body: "*",
377
+ matches: [
378
+ ["analytics_account_link", %r{^organizations/[^/]+/analyticsAccountLinks/[^/]+/?$}, false]
379
+ ]
380
+ )
381
+ transcoder.transcode request_pb
382
+ end
383
+ end
384
+ end
385
+ end
386
+ end
387
+ end
388
+ end
389
+ end
390
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/ads/marketing_platform/admin/v1alpha/version"
24
+
25
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/credentials"
26
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/paths"
27
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/client"
28
+
29
+ module Google
30
+ module Ads
31
+ module MarketingPlatform
32
+ module Admin
33
+ module V1alpha
34
+ ##
35
+ # Service Interface for the Google Marketing Platform Admin API.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest"
40
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Rest::Client.new
41
+ #
42
+ module MarketingplatformAdminService
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/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/ads/marketing_platform/admin/v1alpha/version"
24
+
25
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/credentials"
26
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/paths"
27
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/client"
28
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest"
29
+
30
+ module Google
31
+ module Ads
32
+ module MarketingPlatform
33
+ module Admin
34
+ module V1alpha
35
+ ##
36
+ # Service Interface for the Google Marketing Platform Admin API.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service"
41
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest"
46
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Rest::Client.new
47
+ #
48
+ module MarketingplatformAdminService
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ helper_path = ::File.join __dir__, "marketingplatform_admin_service", "helpers.rb"
57
+ require "google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest"
20
+ require "google/ads/marketing_platform/admin/v1alpha/version"
21
+
22
+ module Google
23
+ module Ads
24
+ module MarketingPlatform
25
+ module Admin
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/ads/marketing_platform/admin/v1alpha/rest"
32
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Rest::Client.new
33
+ #
34
+ module V1alpha
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 Ads
22
+ module MarketingPlatform
23
+ module Admin
24
+ module V1alpha
25
+ VERSION = "0.1.0"
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service"
20
+ require "google/ads/marketing_platform/admin/v1alpha/version"
21
+
22
+ module Google
23
+ module Ads
24
+ module MarketingPlatform
25
+ module Admin
26
+ ##
27
+ # API client module.
28
+ #
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
+ #
31
+ # require "google/ads/marketing_platform/admin/v1alpha"
32
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Client.new
33
+ #
34
+ # @example Load this package, including all its services, and instantiate a REST client
35
+ #
36
+ # require "google/ads/marketing_platform/admin/v1alpha"
37
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Rest::Client.new
38
+ #
39
+ module V1alpha
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+
46
+ helper_path = ::File.join __dir__, "v1alpha", "_helpers.rb"
47
+ require "google/ads/marketing_platform/admin/v1alpha/_helpers" if ::File.file? helper_path