Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated google-cloud-web_risk-v1 dependency to version 1.x #29029

Merged
merged 2 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion google-cloud-web_risk/.yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
-
README.md
AUTHENTICATION.md
MIGRATING.md
LICENSE.md
2 changes: 1 addition & 1 deletion google-cloud-web_risk/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gemspec

local_dependencies = ["google-cloud-web_risk-v1", "google-cloud-web_risk-v1beta1"]
local_dependencies = ["google-cloud-web_risk-v1"]

main_spec = gemspecs.last || Bundler.load_gemspec(File.join(__dir__, "google-cloud-web_risk.gemspec"))
local_dependencies.each do |name|
Expand Down
14 changes: 2 additions & 12 deletions google-cloud-web_risk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ for this library, google-cloud-web_risk, to see the convenience methods for
constructing client objects. Reference documentation for the client objects
themselves can be found in the client library documentation for the versioned
client gems:
[google-cloud-web_risk-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest),
[google-cloud-web_risk-v1beta1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest).
[google-cloud-web_risk-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest).

See also the [Product Documentation](https://cloud.google.com/web-risk)
for more usage information.
Expand All @@ -35,14 +34,6 @@ In order to use this library, you first need to go through the following steps:
1. [Enable the API.](https://console.cloud.google.com/apis/library/webrisk.googleapis.com)
1. [Set up authentication.](AUTHENTICATION.md)

## Migrating from 0.x versions

The 1.0 release of the google-cloud-web_risk client is a significant upgrade
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
and includes substantial interface changes. Existing code written for earlier
versions of this library will likely require updates to use this version.
See the {file:MIGRATING.md MIGRATING.md} document for more information.

## Debug Logging

This library comes with opt-in Debug Logging that can help you troubleshoot
Expand Down Expand Up @@ -71,8 +62,7 @@ results in logs appearing alongside your application logs in the
Debug logging also requires that the versioned clients for this service be
sufficiently recent, released after about Dec 10, 2024. If logging is not
working, try updating the versioned clients in your bundle or installed gems:
[google-cloud-web_risk-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest),
[google-cloud-web_risk-v1beta1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest).
[google-cloud-web_risk-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest).

## Supported Ruby Versions

Expand Down
5 changes: 2 additions & 3 deletions google-cloud-web_risk/google-cloud-web_risk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ Gem::Specification.new do |gem|
gem.platform = Gem::Platform::RUBY

gem.files = `git ls-files -- lib/*`.split("\n") +
["README.md", "AUTHENTICATION.md", "LICENSE.md", ".yardopts", "MIGRATING.md"]
["README.md", "AUTHENTICATION.md", "LICENSE.md", ".yardopts"]
gem.require_paths = ["lib"]

gem.required_ruby_version = ">= 3.0"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-web_risk-v1", ">= 0.11", "< 2.a"
gem.add_dependency "google-cloud-web_risk-v1beta1", ">= 0.9", "< 2.a"
gem.add_dependency "google-cloud-web_risk-v1", "~> 1.2"
end