Skip to content

Commit 0539c9e

Browse files
feat: update gapic-common dependency for generated libraries to 1.2 which requires google-protobuf v4.26+ (#30989)
* feat: update gapic-common dependency for generated libraries to 1.2 which requires google-protobuf v4.26+ docs: add quick start to wrapper libraries README.md PiperOrigin-RevId: 805000877 Source-Link: googleapis/googleapis@8727b5b Source-Link: googleapis/googleapis-gen@59a0202 Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXF1b3RhLXYxLy5Pd2xCb3QueWFtbCIsImgiOiI1OWEwMjAyYzEzYTFkOGQxYjA3NzMwNGZlNTI5YThlYTI4ZmQzNGVjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXF1b3RhLXYxYmV0YS8uT3dsQm90LnlhbWwiLCJoIjoiNTlhMDIwMmMxM2ExZDhkMWIwNzczMDRmZTUyOWE4ZWEyOGZkMzRlYyJ9 Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXF1b3RhLy5Pd2xCb3QueWFtbCIsImgiOiI1OWEwMjAyYzEzYTFkOGQxYjA3NzMwNGZlNTI5YThlYTI4ZmQzNGVjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMtdjEvLk93bEJvdC55YW1sIiwiaCI6IjU5YTAyMDJjMTNhMWQ4ZDFiMDc3MzA0ZmU1MjlhOGVhMjhmZDM0ZWMifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMtdjFiZXRhLy5Pd2xCb3QueWFtbCIsImgiOiI1OWEwMjAyYzEzYTFkOGQxYjA3NzMwNGZlNTI5YThlYTI4ZmQzNGVjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMvLk93bEJvdC55YW1sIiwiaCI6IjU5YTAyMDJjMTNhMWQ4ZDFiMDc3MzA0ZmU1MjlhOGVhMjhmZDM0ZWMifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJldmlld3MtdjFiZXRhLy5Pd2xCb3QueWFtbCIsImgiOiI1OWEwMjAyYzEzYTFkOGQxYjA3NzMwNGZlNTI5YThlYTI4ZmQzNGVjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJldmlld3MvLk93bEJvdC55YW1sIiwiaCI6IjU5YTAyMDJjMTNhMWQ4ZDFiMDc3MzA0ZmU1MjlhOGVhMjhmZDM0ZWMifQ== Copy-Tag: eyJwIjoiZ3JhZmVhcy12MS8uT3dsQm90LnlhbWwiLCJoIjoiNTlhMDIwMmMxM2ExZDhkMWIwNzczMDRmZTUyOWE4ZWEyOGZkMzRlYyJ9 Copy-Tag: eyJwIjoiZ3JhZmVhcy8uT3dsQm90LnlhbWwiLCJoIjoiNTlhMDIwMmMxM2ExZDhkMWIwNzczMDRmZTUyOWE4ZWEyOGZkMzRlYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c00ddb9 commit 0539c9e

10 files changed

Lines changed: 46 additions & 6 deletions

File tree

google-shopping-merchant-quota-v1/google-shopping-merchant-quota-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
end

google-shopping-merchant-quota-v1beta/google-shopping-merchant-quota-v1beta.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
end

google-shopping-merchant-quota/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ In order to use this library, you first need to go through the following steps:
3333
1. [Enable the API.](https://console.cloud.google.com/apis/library/merchantapi.googleapis.com)
3434
1. [Set up authentication.](AUTHENTICATION.md)
3535

36+
## Quick Start
37+
38+
```ruby
39+
require "google/shopping/merchant/quota"
40+
41+
client = Google::Shopping::Merchant::Quota.quota_service
42+
request = ::Google::Shopping::Merchant::Quota::V1beta::ListQuotaGroupsRequest.new # (request fields as keyword arguments...)
43+
response = client.list_quota_groups request
44+
```
45+
3646
## Debug Logging
3747

3848
This library comes with opt-in Debug Logging that can help you troubleshoot

google-shopping-merchant-reports-v1/google-shopping-merchant-reports-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
gem.add_dependency "google-shopping-type", "~> 1.0"
2929
end

google-shopping-merchant-reports-v1beta/google-shopping-merchant-reports-v1beta.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
gem.add_dependency "google-shopping-type", "> 0.0", "< 2.a"
2929
end

google-shopping-merchant-reports/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ In order to use this library, you first need to go through the following steps:
3333
1. [Enable the API.](https://console.cloud.google.com/apis/library/merchantapi.googleapis.com)
3434
1. [Set up authentication.](AUTHENTICATION.md)
3535

36+
## Quick Start
37+
38+
```ruby
39+
require "google/shopping/merchant/reports"
40+
41+
client = Google::Shopping::Merchant::Reports.report_service
42+
request = ::Google::Shopping::Merchant::Reports::V1beta::SearchRequest.new # (request fields as keyword arguments...)
43+
response = client.search request
44+
```
45+
3646
## Debug Logging
3747

3848
This library comes with opt-in Debug Logging that can help you troubleshoot

google-shopping-merchant-reviews-v1beta/google-shopping-merchant-reviews-v1beta.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
gem.add_dependency "google-shopping-type", "> 0.0", "< 2.a"
2929
end

google-shopping-merchant-reviews/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ In order to use this library, you first need to go through the following steps:
3434
1. [Enable the API.](https://console.cloud.google.com/apis/library/merchantapi.googleapis.com)
3535
1. [Set up authentication.](AUTHENTICATION.md)
3636

37+
## Quick Start
38+
39+
```ruby
40+
require "google/shopping/merchant/reviews"
41+
42+
client = Google::Shopping::Merchant::Reviews.merchant_reviews_service
43+
request = ::Google::Shopping::Merchant::Reviews::V1beta::GetMerchantReviewRequest.new # (request fields as keyword arguments...)
44+
response = client.get_merchant_review request
45+
```
46+
3747
## Debug Logging
3848

3949
This library comes with opt-in Debug Logging that can help you troubleshoot

grafeas-v1/grafeas-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.1"
2525

26-
gem.add_dependency "gapic-common", "~> 1.1"
26+
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
end

grafeas/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ for more usage information.
2727
$ gem install grafeas
2828
```
2929

30+
## Quick Start
31+
32+
```ruby
33+
require "grafeas"
34+
35+
client = Grafeas.grafeas
36+
request = ::Grafeas::V1::GetOccurrenceRequest.new # (request fields as keyword arguments...)
37+
response = client.get_occurrence request
38+
```
39+
3040
## Migrating from 0.x versions
3141

3242
The 1.0 release of the grafeas client is a significant upgrade

0 commit comments

Comments
 (0)