google-shopping-merchant-conversions-v1beta 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f21acd98b2543bf4c8d0f3195031a7a634f59f05368dfb32c9121dd1722c907d
4
- data.tar.gz: 3306564b7809dec4b7d4ba24d008f23aa182cd82a2703f9be73c3270def728f8
3
+ metadata.gz: ac2fa186989c321455f6300afc2bd6e1c84e4678a85903f7bdff2c1b49475548
4
+ data.tar.gz: 7a21dd5bc358c52e1855c4f19dc427a66f5d834418ab160fb81e21b3f409df39
5
5
  SHA512:
6
- metadata.gz: 956721c69830183d18c220498407682f3ba8717208527dd1e1eea2aaacf5942e90527509198023e7618968beb764944a0237ea41cf5c2d76831acf1d93fc78b4
7
- data.tar.gz: 26453989d7f15c33de570873c499c0b2a4277fe381ca8a3bf36ac51a23bc93586613fa00fdd92bb90c632b1cd76fc2592edf998606f5764549bfcd847e29b0d3
6
+ metadata.gz: 6a8d2714cd79be62a773aa890037e61e947c3c628544da2f69058421c4c9fa4dfebbab013cbcd4ccd37706359aee42b6199b4be8d04f2592feea680db5164f83
7
+ data.tar.gz: ca6627b70c706d3ba64f3745eac742fd34eb964e1cc74fb402a8478e776194173b13fba6b49b3200746b167ae16d5e21e48c9260ff04d82194db4a121e0a41c6
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Programmatically manage your Merchant Center accounts.
4
4
 
5
- Programmatically manage your Merchant Center accounts.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -31,6 +31,9 @@ module Google
31
31
  # Service for managing conversion sources for a merchant account.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "merchantapi.$UNIVERSE_DOMAIN$"
36
39
 
@@ -225,10 +228,11 @@ module Google
225
228
  # Customize the options with defaults
226
229
  metadata = @config.rpcs.create_conversion_source.metadata.to_h
227
230
 
228
- # Set x-goog-api-client and x-goog-user-project headers
231
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
229
232
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
230
233
  lib_name: @config.lib_name, lib_version: @config.lib_version,
231
234
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
235
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
232
236
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
233
237
 
234
238
  header_params = {}
@@ -314,10 +318,11 @@ module Google
314
318
  # Customize the options with defaults
315
319
  metadata = @config.rpcs.update_conversion_source.metadata.to_h
316
320
 
317
- # Set x-goog-api-client and x-goog-user-project headers
321
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
318
322
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
319
323
  lib_name: @config.lib_name, lib_version: @config.lib_version,
320
324
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
325
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
321
326
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
322
327
 
323
328
  header_params = {}
@@ -403,10 +408,11 @@ module Google
403
408
  # Customize the options with defaults
404
409
  metadata = @config.rpcs.delete_conversion_source.metadata.to_h
405
410
 
406
- # Set x-goog-api-client and x-goog-user-project headers
411
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
407
412
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
408
413
  lib_name: @config.lib_name, lib_version: @config.lib_version,
409
414
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
415
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
410
416
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
411
417
 
412
418
  header_params = {}
@@ -490,10 +496,11 @@ module Google
490
496
  # Customize the options with defaults
491
497
  metadata = @config.rpcs.undelete_conversion_source.metadata.to_h
492
498
 
493
- # Set x-goog-api-client and x-goog-user-project headers
499
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
494
500
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
495
501
  lib_name: @config.lib_name, lib_version: @config.lib_version,
496
502
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
503
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
497
504
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
498
505
 
499
506
  header_params = {}
@@ -576,10 +583,11 @@ module Google
576
583
  # Customize the options with defaults
577
584
  metadata = @config.rpcs.get_conversion_source.metadata.to_h
578
585
 
579
- # Set x-goog-api-client and x-goog-user-project headers
586
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
580
587
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
581
588
  lib_name: @config.lib_name, lib_version: @config.lib_version,
582
589
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
590
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
583
591
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
584
592
 
585
593
  header_params = {}
@@ -676,10 +684,11 @@ module Google
676
684
  # Customize the options with defaults
677
685
  metadata = @config.rpcs.list_conversion_sources.metadata.to_h
678
686
 
679
- # Set x-goog-api-client and x-goog-user-project headers
687
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
680
688
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
681
689
  lib_name: @config.lib_name, lib_version: @config.lib_version,
682
690
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION
691
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
683
692
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
684
693
 
685
694
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Service for managing conversion sources for a merchant account.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "merchantapi.$UNIVERSE_DOMAIN$"
38
41
 
@@ -217,12 +220,13 @@ module Google
217
220
  # Customize the options with defaults
218
221
  call_metadata = @config.rpcs.create_conversion_source.metadata.to_h
219
222
 
220
- # Set x-goog-api-client and x-goog-user-project headers
223
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
221
224
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
222
225
  lib_name: @config.lib_name, lib_version: @config.lib_version,
223
226
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
224
227
  transports_version_send: [:rest]
225
228
 
229
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
226
230
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
227
231
 
228
232
  options.apply_defaults timeout: @config.rpcs.create_conversion_source.timeout,
@@ -299,12 +303,13 @@ module Google
299
303
  # Customize the options with defaults
300
304
  call_metadata = @config.rpcs.update_conversion_source.metadata.to_h
301
305
 
302
- # Set x-goog-api-client and x-goog-user-project headers
306
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
303
307
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
304
308
  lib_name: @config.lib_name, lib_version: @config.lib_version,
305
309
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
306
310
  transports_version_send: [:rest]
307
311
 
312
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
308
313
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
309
314
 
310
315
  options.apply_defaults timeout: @config.rpcs.update_conversion_source.timeout,
@@ -381,12 +386,13 @@ module Google
381
386
  # Customize the options with defaults
382
387
  call_metadata = @config.rpcs.delete_conversion_source.metadata.to_h
383
388
 
384
- # Set x-goog-api-client and x-goog-user-project headers
389
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
385
390
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
386
391
  lib_name: @config.lib_name, lib_version: @config.lib_version,
387
392
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
388
393
  transports_version_send: [:rest]
389
394
 
395
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
390
396
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
391
397
 
392
398
  options.apply_defaults timeout: @config.rpcs.delete_conversion_source.timeout,
@@ -461,12 +467,13 @@ module Google
461
467
  # Customize the options with defaults
462
468
  call_metadata = @config.rpcs.undelete_conversion_source.metadata.to_h
463
469
 
464
- # Set x-goog-api-client and x-goog-user-project headers
470
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
465
471
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
466
472
  lib_name: @config.lib_name, lib_version: @config.lib_version,
467
473
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
468
474
  transports_version_send: [:rest]
469
475
 
476
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
470
477
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
471
478
 
472
479
  options.apply_defaults timeout: @config.rpcs.undelete_conversion_source.timeout,
@@ -540,12 +547,13 @@ module Google
540
547
  # Customize the options with defaults
541
548
  call_metadata = @config.rpcs.get_conversion_source.metadata.to_h
542
549
 
543
- # Set x-goog-api-client and x-goog-user-project headers
550
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
544
551
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
545
552
  lib_name: @config.lib_name, lib_version: @config.lib_version,
546
553
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
547
554
  transports_version_send: [:rest]
548
555
 
556
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
549
557
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
550
558
 
551
559
  options.apply_defaults timeout: @config.rpcs.get_conversion_source.timeout,
@@ -633,12 +641,13 @@ module Google
633
641
  # Customize the options with defaults
634
642
  call_metadata = @config.rpcs.list_conversion_sources.metadata.to_h
635
643
 
636
- # Set x-goog-api-client and x-goog-user-project headers
644
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
637
645
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
638
646
  lib_name: @config.lib_name, lib_version: @config.lib_version,
639
647
  gapic_version: ::Google::Shopping::Merchant::Conversions::V1beta::VERSION,
640
648
  transports_version_send: [:rest]
641
649
 
650
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
642
651
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
643
652
 
644
653
  options.apply_defaults timeout: @config.rpcs.list_conversion_sources.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Conversions
24
24
  module V1beta
25
- VERSION = "0.1.0"
25
+ VERSION = "0.1.2"
26
26
  end
27
27
  end
28
28
  end
@@ -196,9 +196,26 @@ module Google
196
196
  # @!attribute [rw] common
197
197
  # @return [::Google::Api::CommonLanguageSettings]
198
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
199
202
  class PythonSettings
200
203
  include ::Google::Protobuf::MessageExts
201
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
202
219
  end
203
220
 
204
221
  # Settings for Node client libraries.
@@ -290,6 +307,13 @@ module Google
290
307
  # @return [::String]
291
308
  # The fully qualified name of the method, for which the options below apply.
292
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
293
317
  # @!attribute [rw] long_running
294
318
  # @return [::Google::Api::MethodSettings::LongRunning]
295
319
  # Describes settings to use for long-running operations when generating
@@ -298,17 +322,14 @@ module Google
298
322
  #
299
323
  # Example of a YAML configuration::
300
324
  #
301
- # publishing:
302
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
303
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
328
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
307
330
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
312
333
  # @!attribute [rw] auto_populated_fields
313
334
  # @return [::Array<::String>]
314
335
  # List of top-level fields of the request message, that should be
@@ -317,8 +338,8 @@ module Google
317
338
  #
318
339
  # Example of a YAML configuration:
319
340
  #
320
- # publishing:
321
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
322
343
  # - selector: google.example.v1.ExampleService.CreateExample
323
344
  # auto_populated_fields:
324
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
@@ -164,7 +164,7 @@ module Google
164
164
  end
165
165
 
166
166
  # "Merchant Center Destination" sources can be used to send conversion events
167
- # from a website using a Google tag directly to a Merchant Center account
167
+ # from an online store using a Google tag directly to a Merchant Center account
168
168
  # where the source is created.
169
169
  # @!attribute [r] destination
170
170
  # @return [::String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-conversions-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
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: 2024-04-24 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common