google-cloud-phishing_protection-v1beta1 0.10.0 → 0.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e02300f3847b85c7e07f714da098e8054005a5e21f8c5e6238840ea197c06e47
4
- data.tar.gz: e935939fb403e5016ac070b6767d40cbc17d129958114739cd4025fdfac99689
3
+ metadata.gz: 9c45d4846116d95b759fb28c66df0dbb105120e8336a3600593f5031996e0a19
4
+ data.tar.gz: 9fb5c1c451344a372ea43a2bcda7c5a0a34d4e9cd88a28afcaae69a502d6f58c
5
5
  SHA512:
6
- metadata.gz: 8dafcc890c73487d1e86e77d059c788664f204ce557b942ad7b06d4900fd0bbb579d4d1145db8da4febc7934686c2524e642cce34e261837578ec21a07b5e53a
7
- data.tar.gz: 9bce09f03b5044b8701331324b1ae6c2feb920f4753eb598285b88f8edfbf4a7de0ca6fc7fd0295212721a9fc1b3d02ab92c9ba12673dc4cdaa9f16de385fefd
6
+ metadata.gz: f4ab6259e508d1a30e2615a04cfc71a1a734718048692890015f315f2cb2e92debb5ada878be0bd173076e7a57967a6219cfd07404091a238ca359afa2c0b892
7
+ data.tar.gz: 66a512a1eeb3c1cf1aa1dee9020057dc54f51442a6fa6a7ab0a28bd5273a268120768f7c92ddc46f48961ab445835b6b7158a1ed23dab1ee6a91e7a4923fa598
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 2.7+.
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
@@ -323,6 +323,13 @@ module Google
323
323
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
324
324
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
325
325
  # * (`nil`) indicating no credentials
326
+ #
327
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
328
+ # external source for authentication to Google Cloud, you must validate it before
329
+ # providing it to a Google API client library. Providing an unvalidated credential
330
+ # configuration to Google APIs can compromise the security of your systems and data.
331
+ # For more information, refer to [Validate credential configurations from external
332
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
326
333
  # @return [::Object]
327
334
  # @!attribute [rw] scope
328
335
  # The OAuth scopes
@@ -377,8 +384,8 @@ module Google
377
384
 
378
385
  config_attr :endpoint, nil, ::String, nil
379
386
  config_attr :credentials, nil do |value|
380
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
381
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
387
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
388
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
382
389
  allowed.any? { |klass| klass === value }
383
390
  end
384
391
  config_attr :scope, nil, ::String, ::Array, nil
@@ -307,6 +307,13 @@ module Google
307
307
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
308
308
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
309
309
  # * (`nil`) indicating no credentials
310
+ #
311
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
312
+ # external source for authentication to Google Cloud, you must validate it before
313
+ # providing it to a Google API client library. Providing an unvalidated credential
314
+ # configuration to Google APIs can compromise the security of your systems and data.
315
+ # For more information, refer to [Validate credential configurations from external
316
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
310
317
  # @return [::Object]
311
318
  # @!attribute [rw] scope
312
319
  # The OAuth scopes
@@ -354,7 +361,7 @@ module Google
354
361
 
355
362
  config_attr :endpoint, nil, ::String, nil
356
363
  config_attr :credentials, nil do |value|
357
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
364
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
358
365
  allowed.any? { |klass| klass === value }
359
366
  end
360
367
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PhishingProtection
23
23
  module V1beta1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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-phishing_protection-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
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.24.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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -84,7 +83,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
84
83
  licenses:
85
84
  - Apache-2.0
86
85
  metadata: {}
87
- post_install_message:
88
86
  rdoc_options: []
89
87
  require_paths:
90
88
  - lib
@@ -92,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
90
  requirements:
93
91
  - - ">="
94
92
  - !ruby/object:Gem::Version
95
- version: '2.7'
93
+ version: '3.0'
96
94
  required_rubygems_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
98
  version: '0'
101
99
  requirements: []
102
- rubygems_version: 3.5.23
103
- signing_key:
100
+ rubygems_version: 3.6.8
104
101
  specification_version: 4
105
102
  summary: API Client library for the Phishing Protection V1beta1 API
106
103
  test_files: []