google-cloud-web_risk-v1beta1 0.11.0 → 0.12.1
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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/web_risk/v1beta1/version.rb +1 -1
- data/lib/google/cloud/web_risk/v1beta1/web_risk_service/client.rb +9 -2
- data/lib/google/cloud/web_risk/v1beta1/web_risk_service/rest/client.rb +8 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00d5bd854cee0dd49ae16fa1f4389f905d0c247b81e3635e66d85ee606e348e
|
4
|
+
data.tar.gz: ba8b97c60b6bd61da2e1712f0938d6d89db528a1afb310ec1cdb81ca4174c0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '088825e9dae7d10ccf13dab23dab5d74b0abba8c968ff93455dcc05374e6f26f6000ab800921daf091649a301356df1207479d58e5ea2a7cf749bfb74aa2203b'
|
7
|
+
data.tar.gz: 635d4d39462bbca89507edf90f90cd08a93df610dd5bc6a56a5f05a6f633cb032e513077b5d7c3e10995ad03aea2ce567e8f99e8b2756416d9421c852e28dd18
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -486,6 +486,13 @@ module Google
|
|
486
486
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
487
487
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
488
488
|
# * (`nil`) indicating no credentials
|
489
|
+
#
|
490
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
491
|
+
# external source for authentication to Google Cloud, you must validate it before
|
492
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
493
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
494
|
+
# For more information, refer to [Validate credential configurations from external
|
495
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
489
496
|
# @return [::Object]
|
490
497
|
# @!attribute [rw] scope
|
491
498
|
# The OAuth scopes
|
@@ -540,8 +547,8 @@ module Google
|
|
540
547
|
|
541
548
|
config_attr :endpoint, nil, ::String, nil
|
542
549
|
config_attr :credentials, nil do |value|
|
543
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
544
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
550
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
551
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
545
552
|
allowed.any? { |klass| klass === value }
|
546
553
|
end
|
547
554
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -480,6 +480,13 @@ module Google
|
|
480
480
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
481
481
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
482
482
|
# * (`nil`) indicating no credentials
|
483
|
+
#
|
484
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
485
|
+
# external source for authentication to Google Cloud, you must validate it before
|
486
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
487
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
488
|
+
# For more information, refer to [Validate credential configurations from external
|
489
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
483
490
|
# @return [::Object]
|
484
491
|
# @!attribute [rw] scope
|
485
492
|
# The OAuth scopes
|
@@ -527,7 +534,7 @@ module Google
|
|
527
534
|
|
528
535
|
config_attr :endpoint, nil, ::String, nil
|
529
536
|
config_attr :credentials, nil do |value|
|
530
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
537
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
531
538
|
allowed.any? { |klass| klass === value }
|
532
539
|
end
|
533
540
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-web_risk-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -82,7 +81,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
82
81
|
licenses:
|
83
82
|
- Apache-2.0
|
84
83
|
metadata: {}
|
85
|
-
post_install_message:
|
86
84
|
rdoc_options: []
|
87
85
|
require_paths:
|
88
86
|
- lib
|
@@ -90,15 +88,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
88
|
requirements:
|
91
89
|
- - ">="
|
92
90
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
91
|
+
version: '3.0'
|
94
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
93
|
requirements:
|
96
94
|
- - ">="
|
97
95
|
- !ruby/object:Gem::Version
|
98
96
|
version: '0'
|
99
97
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
101
|
-
signing_key:
|
98
|
+
rubygems_version: 3.6.8
|
102
99
|
specification_version: 4
|
103
100
|
summary: API Client library for the Web Risk V1beta1 API
|
104
101
|
test_files: []
|