google-apis-securitycenter_v1beta2 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76ac0c76b3d5960371fd319998b75b6f7dd26736e2c80f903ff8b7064cf6fc54
4
- data.tar.gz: dcd7f0c2eb895ca230d35bf612a3517d34913eebd1de2f045148e5515d1859ea
3
+ metadata.gz: 77e2e6ed6d00ae977de5f492c7df0ce616714be8d814a50a9f8d84637a0b945a
4
+ data.tar.gz: '0846f43b7cc25a4b47236e6c6f602f012c95f68fbe899ea21ba2e7f7e682ecd3'
5
5
  SHA512:
6
- metadata.gz: 0bb02b4b3925e6a1e84ecf9f9a404816b12b69f22b2f0cbe5ab62a42fd1d9e88db156fc56ee8d81e14bdb2cc12354704f3083cf5a775ef9909bbdb1a9f898061
7
- data.tar.gz: 74b19783bbd02311c9dc69b64a4d088f360eaceb23bb31855baaa4b9ef0541ca5c8bc8cc59e136e5afcb08a5bfaeba9f177dddee497c22e3a549d38a2cb447e5
6
+ metadata.gz: 68d3fe432223921319f437728f608854484e285243b0213203fc53ee9995f4155162ee0cb3711ba2788adf065284837b461b3897682d79ae481d2e539d28eb79
7
+ data.tar.gz: 497636ea7d63117fa96d8d81eb1fc1b5512c89e2a3841dda42b4e1f92b930d57a51c9e9141f64d4645a059ff275565158dac27d04195fca232c5ee144d884766
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.22.0 (2022-05-10)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
3
7
  ### v0.21.0 (2022-04-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220414
@@ -1480,7 +1480,8 @@ module Google
1480
1480
  attr_accessor :log_sink_project
1481
1481
 
1482
1482
  # The resource name of the SecurityCenterSettings. Format: organizations/`
1483
- # organization`/securityCenterSettings
1483
+ # organization`/securityCenterSettings Format: folders/`folder`/
1484
+ # securityCenterSettings Format: projects/`project`/securityCenterSettings
1484
1485
  # Corresponds to the JSON property `name`
1485
1486
  # @return [String]
1486
1487
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220414"
25
+ REVISION = "20220506"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,38 @@ module Google
148
148
  execute_or_queue_command(command, &block)
149
149
  end
150
150
 
151
+ # Get the SecurityCenterSettings resource.
152
+ # @param [String] name
153
+ # Required. The name of the SecurityCenterSettings to retrieve. Format:
154
+ # organizations/`organization`/securityCenterSettings Format: folders/`folder`/
155
+ # securityCenterSettings Format: projects/`project`/securityCenterSettings
156
+ # @param [String] fields
157
+ # Selector specifying which fields to include in a partial response.
158
+ # @param [String] quota_user
159
+ # Available to use for quota purposes for server-side applications. Can be any
160
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
161
+ # @param [Google::Apis::RequestOptions] options
162
+ # Request-specific options
163
+ #
164
+ # @yield [result, err] Result & error if block supplied
165
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings] parsed result object
166
+ # @yieldparam err [StandardError] error object if request failed
167
+ #
168
+ # @return [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings]
169
+ #
170
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
171
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
172
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
173
+ def get_folder_security_center_settings(name, fields: nil, quota_user: nil, options: nil, &block)
174
+ command = make_simple_command(:get, 'v1beta2/{+name}', options)
175
+ command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings::Representation
176
+ command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
177
+ command.params['name'] = name unless name.nil?
178
+ command.query['fields'] = fields unless fields.nil?
179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
180
+ execute_or_queue_command(command, &block)
181
+ end
182
+
151
183
  # Get the SecurityHealthAnalyticsSettings resource.
152
184
  # @param [String] name
153
185
  # Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats:
@@ -710,7 +742,8 @@ module Google
710
742
  # Get the SecurityCenterSettings resource.
711
743
  # @param [String] name
712
744
  # Required. The name of the SecurityCenterSettings to retrieve. Format:
713
- # organizations/`organization`/securityCenterSettings
745
+ # organizations/`organization`/securityCenterSettings Format: folders/`folder`/
746
+ # securityCenterSettings Format: projects/`project`/securityCenterSettings
714
747
  # @param [String] fields
715
748
  # Selector specifying which fields to include in a partial response.
716
749
  # @param [String] quota_user
@@ -1328,6 +1361,38 @@ module Google
1328
1361
  execute_or_queue_command(command, &block)
1329
1362
  end
1330
1363
 
1364
+ # Get the SecurityCenterSettings resource.
1365
+ # @param [String] name
1366
+ # Required. The name of the SecurityCenterSettings to retrieve. Format:
1367
+ # organizations/`organization`/securityCenterSettings Format: folders/`folder`/
1368
+ # securityCenterSettings Format: projects/`project`/securityCenterSettings
1369
+ # @param [String] fields
1370
+ # Selector specifying which fields to include in a partial response.
1371
+ # @param [String] quota_user
1372
+ # Available to use for quota purposes for server-side applications. Can be any
1373
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1374
+ # @param [Google::Apis::RequestOptions] options
1375
+ # Request-specific options
1376
+ #
1377
+ # @yield [result, err] Result & error if block supplied
1378
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings] parsed result object
1379
+ # @yieldparam err [StandardError] error object if request failed
1380
+ #
1381
+ # @return [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings]
1382
+ #
1383
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1384
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1385
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1386
+ def get_project_security_center_settings(name, fields: nil, quota_user: nil, options: nil, &block)
1387
+ command = make_simple_command(:get, 'v1beta2/{+name}', options)
1388
+ command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings::Representation
1389
+ command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
1390
+ command.params['name'] = name unless name.nil?
1391
+ command.query['fields'] = fields unless fields.nil?
1392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1393
+ execute_or_queue_command(command, &block)
1394
+ end
1395
+
1331
1396
  # Get the SecurityHealthAnalyticsSettings resource.
1332
1397
  # @param [String] name
1333
1398
  # Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []