google-cloud-web_security_scanner-v1 1.1.0 → 1.2.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: 56bfb4f7d6766689926f0671533b33c2a2980eed40fc6f0cf563baebcb2c3b75
4
- data.tar.gz: 947cb433c7fb86f507ac73e01b3cb368aa3c0cc4eb6d5e43b79757b849a9a145
3
+ metadata.gz: c2417d3ec1dd94a340603f75e131478688cfaa049d878106a878e9cd026e8499
4
+ data.tar.gz: 06c0cebcce52499cd71a2573a0318636315c9ff42bb3d5f880a710a116cf6e56
5
5
  SHA512:
6
- metadata.gz: 6e08f1cb63431e903e03adf616a9d1995d24c32bd97ed5555dfb349cc49408d29eaeb7f0b5b57ea4db12be4a78bdca754cdeed0432127c0e939246df9051d25d
7
- data.tar.gz: c4473537d603012ae1796a18ba25308cbc9446e49ee4ff86b19f2b6b41379a6dfca5268d86e2332926439d85ddcdf1aa640121b9d3cf514ea9766ce60d4578a3
6
+ metadata.gz: f10af41718ea49b68de5279892987ebf555e29a108ab5d37d3780e51387de19250498e265005729d20f1ec019230f488c8d010a465b3c406c4f08ca5a2ea1791
7
+ data.tar.gz: f919dad7b7ba7bd10594c2287cca3b184c954c2540aed53bc982260f419079aa661135158f5c39656cbe983211629cc95f091571926e3466e79b825da6dfd2da
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1473,6 +1473,13 @@ module Google
1473
1473
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1474
1474
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1475
1475
  # * (`nil`) indicating no credentials
1476
+ #
1477
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1478
+ # external source for authentication to Google Cloud, you must validate it before
1479
+ # providing it to a Google API client library. Providing an unvalidated credential
1480
+ # configuration to Google APIs can compromise the security of your systems and data.
1481
+ # For more information, refer to [Validate credential configurations from external
1482
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1476
1483
  # @return [::Object]
1477
1484
  # @!attribute [rw] scope
1478
1485
  # The OAuth scopes
@@ -1527,8 +1534,8 @@ module Google
1527
1534
 
1528
1535
  config_attr :endpoint, nil, ::String, nil
1529
1536
  config_attr :credentials, nil do |value|
1530
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1531
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1537
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1538
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1532
1539
  allowed.any? { |klass| klass === value }
1533
1540
  end
1534
1541
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1373,6 +1373,13 @@ module Google
1373
1373
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1374
1374
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1375
1375
  # * (`nil`) indicating no credentials
1376
+ #
1377
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1378
+ # external source for authentication to Google Cloud, you must validate it before
1379
+ # providing it to a Google API client library. Providing an unvalidated credential
1380
+ # configuration to Google APIs can compromise the security of your systems and data.
1381
+ # For more information, refer to [Validate credential configurations from external
1382
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1376
1383
  # @return [::Object]
1377
1384
  # @!attribute [rw] scope
1378
1385
  # The OAuth scopes
@@ -1420,7 +1427,7 @@ module Google
1420
1427
 
1421
1428
  config_attr :endpoint, nil, ::String, nil
1422
1429
  config_attr :credentials, nil do |value|
1423
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1430
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1424
1431
  allowed.any? { |klass| klass === value }
1425
1432
  end
1426
1433
  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
@@ -80,12 +80,18 @@ module Google
80
80
  # @deprecated This field is deprecated and may be removed in the next major version update.
81
81
  # @return [::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount]
82
82
  # Authentication using a Google account.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `google_account`, `custom_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.
83
85
  # @!attribute [rw] custom_account
84
86
  # @return [::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount]
85
87
  # Authentication using a custom account.
88
+ #
89
+ # Note: The following fields are mutually exclusive: `custom_account`, `google_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.
86
90
  # @!attribute [rw] iap_credential
87
91
  # @return [::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential]
88
92
  # Authentication using Identity-Aware-Proxy (IAP).
93
+ #
94
+ # Note: The following fields are mutually exclusive: `iap_credential`, `google_account`, `custom_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.
89
95
  class Authentication
90
96
  include ::Google::Protobuf::MessageExts
91
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-web_security_scanner-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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
@@ -103,7 +102,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
103
102
  licenses:
104
103
  - Apache-2.0
105
104
  metadata: {}
106
- post_install_message:
107
105
  rdoc_options: []
108
106
  require_paths:
109
107
  - lib
@@ -111,15 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
109
  requirements:
112
110
  - - ">="
113
111
  - !ruby/object:Gem::Version
114
- version: '2.7'
112
+ version: '3.0'
115
113
  required_rubygems_version: !ruby/object:Gem::Requirement
116
114
  requirements:
117
115
  - - ">="
118
116
  - !ruby/object:Gem::Version
119
117
  version: '0'
120
118
  requirements: []
121
- rubygems_version: 3.5.23
122
- signing_key:
119
+ rubygems_version: 3.6.8
123
120
  specification_version: 4
124
121
  summary: Scans your Compute and App Engine apps for common web vulnerabilities.
125
122
  test_files: []