google-shopping-merchant-notifications-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: 26a6f63cd70fbc1371ca12f5244478868d27f9b5b55ec82404f6dddb0fef0645
4
- data.tar.gz: 89883c97d9607447811e0f9220b291b1b22f8d7ab584c114f47dd39236e38859
3
+ metadata.gz: b27a7ab4c7cac75feead9631170fa21b51dc98b9161e222aa330da48ace9bd8e
4
+ data.tar.gz: cbb0316530b8e4dd5d0ca030d854649b15a5a840def2f43f1798ff6f038b8816
5
5
  SHA512:
6
- metadata.gz: 02ac92aedbf6ae7783a1d0f925e35aa663f0f881e7f4065566f0ed92d95670b90e6e31b66caf0977ca1de8527f4702a96fe94253d17d0e061bd11a8baa5fe3a3
7
- data.tar.gz: da8e4b5d7e976db00570d09511d783f9789a24db056b7610d098a64249528786d82325eac5b5ab559657aeb9bd1ae22b3deb9c30e47bfee6ecd1f7d03a9da2e1
6
+ metadata.gz: 1aace0d760b03ccc7def522b12924a8ded7d8cdfbbafc14219d7ad4ae9f828a50cbeea4560870a09d8b6d32aae52f8dd017124949e277d9eb632bd9e103d36cd
7
+ data.tar.gz: c2510d132a4333dbd704990903c9e8f28949bf92c2bd5e2324f4a72f4d1e2e7acce2a6484e983c97992087c23c9ca11ecfeb9a9f6ba31750c62552a991d709ad
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 to manage notification subscriptions for merchants
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
 
@@ -221,10 +224,11 @@ module Google
221
224
  # Customize the options with defaults
222
225
  metadata = @config.rpcs.get_notification_subscription.metadata.to_h
223
226
 
224
- # Set x-goog-api-client and x-goog-user-project headers
227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
225
228
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
226
229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
227
230
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION
231
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
228
232
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
229
233
 
230
234
  header_params = {}
@@ -320,10 +324,11 @@ module Google
320
324
  # Customize the options with defaults
321
325
  metadata = @config.rpcs.create_notification_subscription.metadata.to_h
322
326
 
323
- # Set x-goog-api-client and x-goog-user-project headers
327
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
324
328
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
325
329
  lib_name: @config.lib_name, lib_version: @config.lib_version,
326
330
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION
331
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
327
332
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
328
333
 
329
334
  header_params = {}
@@ -408,10 +413,11 @@ module Google
408
413
  # Customize the options with defaults
409
414
  metadata = @config.rpcs.update_notification_subscription.metadata.to_h
410
415
 
411
- # Set x-goog-api-client and x-goog-user-project headers
416
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
412
417
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
413
418
  lib_name: @config.lib_name, lib_version: @config.lib_version,
414
419
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION
420
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
415
421
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
416
422
 
417
423
  header_params = {}
@@ -493,10 +499,11 @@ module Google
493
499
  # Customize the options with defaults
494
500
  metadata = @config.rpcs.delete_notification_subscription.metadata.to_h
495
501
 
496
- # Set x-goog-api-client and x-goog-user-project headers
502
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
497
503
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
498
504
  lib_name: @config.lib_name, lib_version: @config.lib_version,
499
505
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION
506
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
500
507
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
501
508
 
502
509
  header_params = {}
@@ -590,10 +597,11 @@ module Google
590
597
  # Customize the options with defaults
591
598
  metadata = @config.rpcs.list_notification_subscriptions.metadata.to_h
592
599
 
593
- # Set x-goog-api-client and x-goog-user-project headers
600
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
594
601
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
595
602
  lib_name: @config.lib_name, lib_version: @config.lib_version,
596
603
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION
604
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
597
605
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
598
606
 
599
607
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Service to manage notification subscriptions for merchants
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
 
@@ -213,12 +216,13 @@ module Google
213
216
  # Customize the options with defaults
214
217
  call_metadata = @config.rpcs.get_notification_subscription.metadata.to_h
215
218
 
216
- # Set x-goog-api-client and x-goog-user-project headers
219
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
217
220
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
218
221
  lib_name: @config.lib_name, lib_version: @config.lib_version,
219
222
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION,
220
223
  transports_version_send: [:rest]
221
224
 
225
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
222
226
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
223
227
 
224
228
  options.apply_defaults timeout: @config.rpcs.get_notification_subscription.timeout,
@@ -305,12 +309,13 @@ module Google
305
309
  # Customize the options with defaults
306
310
  call_metadata = @config.rpcs.create_notification_subscription.metadata.to_h
307
311
 
308
- # Set x-goog-api-client and x-goog-user-project headers
312
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
309
313
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
310
314
  lib_name: @config.lib_name, lib_version: @config.lib_version,
311
315
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION,
312
316
  transports_version_send: [:rest]
313
317
 
318
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
314
319
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
315
320
 
316
321
  options.apply_defaults timeout: @config.rpcs.create_notification_subscription.timeout,
@@ -386,12 +391,13 @@ module Google
386
391
  # Customize the options with defaults
387
392
  call_metadata = @config.rpcs.update_notification_subscription.metadata.to_h
388
393
 
389
- # Set x-goog-api-client and x-goog-user-project headers
394
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
390
395
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
391
396
  lib_name: @config.lib_name, lib_version: @config.lib_version,
392
397
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION,
393
398
  transports_version_send: [:rest]
394
399
 
400
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
395
401
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
396
402
 
397
403
  options.apply_defaults timeout: @config.rpcs.update_notification_subscription.timeout,
@@ -464,12 +470,13 @@ module Google
464
470
  # Customize the options with defaults
465
471
  call_metadata = @config.rpcs.delete_notification_subscription.metadata.to_h
466
472
 
467
- # Set x-goog-api-client and x-goog-user-project headers
473
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
468
474
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
469
475
  lib_name: @config.lib_name, lib_version: @config.lib_version,
470
476
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION,
471
477
  transports_version_send: [:rest]
472
478
 
479
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
473
480
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
474
481
 
475
482
  options.apply_defaults timeout: @config.rpcs.delete_notification_subscription.timeout,
@@ -554,12 +561,13 @@ module Google
554
561
  # Customize the options with defaults
555
562
  call_metadata = @config.rpcs.list_notification_subscriptions.metadata.to_h
556
563
 
557
- # Set x-goog-api-client and x-goog-user-project headers
564
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
558
565
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
559
566
  lib_name: @config.lib_name, lib_version: @config.lib_version,
560
567
  gapic_version: ::Google::Shopping::Merchant::Notifications::V1beta::VERSION,
561
568
  transports_version_send: [:rest]
562
569
 
570
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
563
571
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
564
572
 
565
573
  options.apply_defaults timeout: @config.rpcs.list_notification_subscriptions.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Notifications
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
@@ -20,14 +20,41 @@
20
20
  module Google
21
21
  module Shopping
22
22
  module Type
23
+ # The weight represented as the value in string and the unit.
24
+ # @!attribute [rw] amount_micros
25
+ # @return [::Integer]
26
+ # Required. The weight represented as a number in micros (1 million micros is
27
+ # an equivalent to one's currency standard unit, for example, 1 kg = 1000000
28
+ # micros).
29
+ # This field can also be set as infinity by setting to -1.
30
+ # This field only support -1 and positive value.
31
+ # @!attribute [rw] unit
32
+ # @return [::Google::Shopping::Type::Weight::WeightUnit]
33
+ # Required. The weight unit.
34
+ # Acceptable values are: kg and lb
35
+ class Weight
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+
39
+ # The weight unit.
40
+ module WeightUnit
41
+ # unit unspecified
42
+ WEIGHT_UNIT_UNSPECIFIED = 0
43
+
44
+ # lb unit.
45
+ POUND = 1
46
+
47
+ # kg unit.
48
+ KILOGRAM = 2
49
+ end
50
+ end
51
+
23
52
  # The price represented as a number and currency.
24
53
  # @!attribute [rw] amount_micros
25
54
  # @return [::Integer]
26
55
  # The price represented as a number in micros (1 million micros is an
27
56
  # equivalent to one's currency standard unit, for example, 1 USD = 1000000
28
57
  # micros).
29
- # This field can also be set as infinity by setting to -1.
30
- # This field only support -1 and positive value.
31
58
  # @!attribute [rw] currency_code
32
59
  # @return [::String]
33
60
  # The currency of the price using three-letter acronyms according to [ISO
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-notifications-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-25 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