google-shopping-merchant-products 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c56ebf69f6f0f3f5cf7213754ef2eca624328f9b54e9de0521c801934ba23e98
4
- data.tar.gz: 5a07020a00eac0b22bc604c05d121b911ca16cfbf075554f4e710475f7728f38
3
+ metadata.gz: 773414771459114fa7e4c6dac6d43dfcc4486f5c6dac89f8f566a37d77dcd785
4
+ data.tar.gz: 70f0fc2778278c3db2583917f30d50ee7f25a5e828517abc66c5b00ef6c4f442
5
5
  SHA512:
6
- metadata.gz: dc0dcf4557b1aa31cd58500d352d1f1b5ea011a8314c42a5c1a86f80efbe920dcb35e4ecbea1d5f5740f515f2dc6dc4b8c1a00eecfa5ce75516ae7c8ae791cc3
7
- data.tar.gz: 7ddbc7730b37f7ec140c1d91be624d2e493e749a18480aef3f17987ef16c5d9c39bab660be8def64c6db6a2192fbb24d3006ffbf478ebad8835516f80f5b3b9e
6
+ metadata.gz: d51f3afdc1d4cfa40c088e78a47af04fac2ee219cb2a63396341032c0acdb69a90bbf620b5096e5003150e1f3b494aca7aa42e3fb2c0330136449bee3288adee
7
+ data.tar.gz: be409e091b8f8797fc689a69757e57e1aeb5e3356683e3c3df900a6a2211910ca7e38f3e121f511ed583dc00f6c65afdf4cbbc78adc4bdadf486f8453e0d7c93
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/merchantapi.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/shopping/merchant/products"
39
+
40
+ client = Google::Shopping::Merchant::Products.product_inputs_service
41
+ request = ::Google::Shopping::Merchant::Products::V1beta::InsertProductInputRequest.new # (request fields as keyword arguments...)
42
+ response = client.insert_product_input request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -21,7 +21,7 @@ module Google
21
21
  module Shopping
22
22
  module Merchant
23
23
  module Products
24
- VERSION = "0.2.2"
24
+ VERSION = "0.2.3"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-products
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.6.8
89
+ rubygems_version: 3.6.9
90
90
  specification_version: 4
91
91
  summary: Programmatically manage your Merchant Center Accounts.
92
92
  test_files: []