google-cloud-security_center_management-v1 1.2.0 → 1.3.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: 9edafcef2094c417af25abb94ff6eed43a02a59fdc987ed2cfa36bd6dc9b7071
4
- data.tar.gz: 55f4f52af0fbf735bbbba73f6c59ce745e48b86cbc0319e2553a9e6d7ad2bdbb
3
+ metadata.gz: 91d7ca637ec382812cd12a9826d3fc65aaf84eb381f47d2f3638f20c0f88775c
4
+ data.tar.gz: 3acf4000a6a0fd075322c301bd23a4505499b75735a9bb9aeb221db53a83c35e
5
5
  SHA512:
6
- metadata.gz: 4b9f887dd78c453249fd68c903ec792b4c72259830eb928dea967ec498ae63775d0fc64e65cdec71ed604b3441f4f54430089dffd0614889171f46cdb8efeef3
7
- data.tar.gz: e5541c8c795139f0a9960edcc064f56245270ca27d0435b3c25bb25d8ffd574fbcb561c4b219a63af3aeb3155affa1d1451340ed792e24865433663bf39d541a
6
+ metadata.gz: 4ebba66a3732b2ff96fcf2ad7b1c1a50b3a9b2b7ec4dc3eb37c3bee18f0fc7d7200b7d768b3c29f34a979d7bfeae2d76236e94672cb54dfef7edbb794a908add
7
+ data.tar.gz: e184dfd16e30963baf0d2f2a02844e3a2828fa738bd835b76c229b930ff8941ed16805f9f91d0fb1c554adaaa33a84f96015a4a857b4065c5f77a54c0f6303e7
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
@@ -2488,6 +2488,13 @@ module Google
2488
2488
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2489
2489
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2490
2490
  # * (`nil`) indicating no credentials
2491
+ #
2492
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2493
+ # external source for authentication to Google Cloud, you must validate it before
2494
+ # providing it to a Google API client library. Providing an unvalidated credential
2495
+ # configuration to Google APIs can compromise the security of your systems and data.
2496
+ # For more information, refer to [Validate credential configurations from external
2497
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2491
2498
  # @return [::Object]
2492
2499
  # @!attribute [rw] scope
2493
2500
  # The OAuth scopes
@@ -2542,8 +2549,8 @@ module Google
2542
2549
 
2543
2550
  config_attr :endpoint, nil, ::String, nil
2544
2551
  config_attr :credentials, nil do |value|
2545
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2546
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2552
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2553
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2547
2554
  allowed.any? { |klass| klass === value }
2548
2555
  end
2549
2556
  config_attr :scope, nil, ::String, ::Array, nil
@@ -2333,6 +2333,13 @@ module Google
2333
2333
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2334
2334
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2335
2335
  # * (`nil`) indicating no credentials
2336
+ #
2337
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2338
+ # external source for authentication to Google Cloud, you must validate it before
2339
+ # providing it to a Google API client library. Providing an unvalidated credential
2340
+ # configuration to Google APIs can compromise the security of your systems and data.
2341
+ # For more information, refer to [Validate credential configurations from external
2342
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2336
2343
  # @return [::Object]
2337
2344
  # @!attribute [rw] scope
2338
2345
  # The OAuth scopes
@@ -2380,7 +2387,7 @@ module Google
2380
2387
 
2381
2388
  config_attr :endpoint, nil, ::String, nil
2382
2389
  config_attr :credentials, nil do |value|
2383
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2390
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2384
2391
  allowed.any? { |klass| klass === value }
2385
2392
  end
2386
2393
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenterManagement
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.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
@@ -783,12 +783,18 @@ module Google
783
783
  # @return [::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding]
784
784
  # Finding that would be published for the test case if a violation is
785
785
  # detected.
786
+ #
787
+ # Note: The following fields are mutually exclusive: `finding`, `no_violation`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
786
788
  # @!attribute [rw] no_violation
787
789
  # @return [::Google::Protobuf::Empty]
788
790
  # Indicates that the test case does not trigger any violation.
791
+ #
792
+ # Note: The following fields are mutually exclusive: `no_violation`, `finding`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
789
793
  # @!attribute [rw] error
790
794
  # @return [::Google::Rpc::Status]
791
795
  # Error encountered during the test.
796
+ #
797
+ # Note: The following fields are mutually exclusive: `error`, `finding`, `no_violation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
792
798
  class SimulatedResult
793
799
  include ::Google::Protobuf::MessageExts
794
800
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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
@@ -126,7 +125,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
126
125
  licenses:
127
126
  - Apache-2.0
128
127
  metadata: {}
129
- post_install_message:
130
128
  rdoc_options: []
131
129
  require_paths:
132
130
  - lib
@@ -134,15 +132,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
132
  requirements:
135
133
  - - ">="
136
134
  - !ruby/object:Gem::Version
137
- version: '2.7'
135
+ version: '3.0'
138
136
  required_rubygems_version: !ruby/object:Gem::Requirement
139
137
  requirements:
140
138
  - - ">="
141
139
  - !ruby/object:Gem::Version
142
140
  version: '0'
143
141
  requirements: []
144
- rubygems_version: 3.5.23
145
- signing_key:
142
+ rubygems_version: 3.6.8
146
143
  specification_version: 4
147
144
  summary: Management API for Security Command Center, a built-in security and risk
148
145
  management solution for Google Cloud. Use this API to programmatically update the