google-cloud-security_center_management-v1 1.4.0 → 1.5.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: fab08029a4e64dda0d223d37a27223e43229a6173d564212554de6d711f89780
4
- data.tar.gz: eb783de2a278617c7e2ee05d5c296a60cafa66f517c3d715b661b5ad2af2d643
3
+ metadata.gz: 877616a4d9199bb85e5b2b2365a35af9d5a2e85690dbc66330ce7f7b26db2649
4
+ data.tar.gz: 32a4456e823d5c6e15e70d6e3df37730162c8597085c00d2c62f0cb9f1213c65
5
5
  SHA512:
6
- metadata.gz: 0a9fc53ade1bee766438032ac71d3f00c5c972eecd942a350e445b88d95807349ec9371e792a53a99ab3822a5d9f22c57799cbe70106cbd5f40ea95cf9d0f5f0
7
- data.tar.gz: 9f4aab3245c55bc207c3381efa62d9cfc42e01845a76a3bacc422285fbca09eefde619356727cecae553f939da7e7bdbb74595b8dd5fd9ff614dfc9fded9c51a
6
+ metadata.gz: 4ede4e29d285f6f8c2a143aa7df682f56fcf53891f2ea84887f7b115a14171bcbfccd6eb44eb19cb6106f80c4d275d9abb9a5c3d74089590d601149116ebe5c0
7
+ data.tar.gz: 1a96f4013bfdffd787e38e6cbb7ea5aa31aaa9a841ad9f0e3fc55e232e3b332fb3071c70863c62b76e19f674f6726f16df0a9cd5fddcd63b5ef29727f18242b3
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -69,33 +69,6 @@ module Google
69
69
  yield @configure if block_given?
70
70
  @configure
71
71
  end
72
-
73
- ##
74
- # @private
75
- # Configuration class for the google.cloud.securitycentermanagement.v1 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.securitycentermanagement.v1 package.
79
- #
80
- # This configuration is for internal use of the client library classes,
81
- # and it is not intended that the end-users will read or change it.
82
- #
83
- class Configuration
84
- extend ::Gapic::Config
85
-
86
- # @private
87
- # Overrides for http bindings for the RPC of the mixins for this package.
88
- # Services in this package should use these when creating clients for the mixin services.
89
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
- config_attr :bindings_override, {}, ::Hash, nil
91
-
92
- # @private
93
- def initialize parent_config = nil
94
- @parent_config = parent_config unless parent_config.nil?
95
-
96
- yield self if block_given?
97
- end
98
- end
99
72
  end
100
73
  end
101
74
  end
@@ -2479,8 +2479,6 @@ module Google
2479
2479
  # @return [::String,nil]
2480
2480
  # @!attribute [rw] credentials
2481
2481
  # Credentials to send with calls. You may provide any of the following types:
2482
- # * (`String`) The path to a service account key file in JSON format
2483
- # * (`Hash`) A service account key as a Hash
2484
2482
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2485
2483
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2486
2484
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2489,7 +2487,26 @@ module Google
2489
2487
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2490
2488
  # * (`nil`) indicating no credentials
2491
2489
  #
2492
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2490
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2491
+ # is deprecated. Providing an unvalidated credential configuration to
2492
+ # Google APIs can compromise the security of your systems and data.
2493
+ #
2494
+ # @example
2495
+ #
2496
+ # # The recommended way to provide credentials is to use the `make_creds` method
2497
+ # # on the appropriate credentials class for your environment.
2498
+ #
2499
+ # require "googleauth"
2500
+ #
2501
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2502
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2503
+ # )
2504
+ #
2505
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Client.new do |config|
2506
+ # config.credentials = credentials
2507
+ # end
2508
+ #
2509
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2493
2510
  # external source for authentication to Google Cloud, you must validate it before
2494
2511
  # providing it to a Google API client library. Providing an unvalidated credential
2495
2512
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenterManagement
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
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.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.6.8
130
+ rubygems_version: 3.6.9
131
131
  specification_version: 4
132
132
  summary: Management API for Security Command Center, a built-in security and risk
133
133
  management solution for Google Cloud. Use this API to programmatically update the