google-apis-securitycenter_v1beta1 0.97.0 → 0.98.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securitycenter_v1beta1/classes.rb +134 -0
- data/lib/google/apis/securitycenter_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1beta1/representations.rb +63 -0
- data/lib/google/apis/securitycenter_v1beta1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37920d7d0012857d8bf6e7a6ee173f056010b69ee36839b2f57d99a886ce66cf
|
4
|
+
data.tar.gz: 68c4236aac763c1879117aa5bbbb485d85364fca9228666a62980f0f3cf52bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d791cc0e5639819184df6e799a734f1b83c679b86b73203e738d7919c64a80b32198e78bd5296c4a6b9bd1d1143d03db87f392b568df2ce418b1ed02511c5a5e
|
7
|
+
data.tar.gz: a40c3f15d4d7ad0aa64fdaf38a3565258484db2b6edc6bb795de1392bf23c7081a0447d1a9d6129c6230d5f36c72c235206bc017f18c1b100d21374234f88b29
|
data/CHANGELOG.md
CHANGED
@@ -1210,6 +1210,12 @@ module Google
|
|
1210
1210
|
# @return [String]
|
1211
1211
|
attr_accessor :data_profile
|
1212
1212
|
|
1213
|
+
# Type of information detected by SDP. Info type includes name, version and
|
1214
|
+
# sensitivity of the detected information type.
|
1215
|
+
# Corresponds to the JSON property `infoTypes`
|
1216
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::InfoType>]
|
1217
|
+
attr_accessor :info_types
|
1218
|
+
|
1213
1219
|
# The resource hierarchy level at which the data profile was generated.
|
1214
1220
|
# Corresponds to the JSON property `parentType`
|
1215
1221
|
# @return [String]
|
@@ -1222,6 +1228,7 @@ module Google
|
|
1222
1228
|
# Update properties of this object
|
1223
1229
|
def update!(**args)
|
1224
1230
|
@data_profile = args[:data_profile] if args.key?(:data_profile)
|
1231
|
+
@info_types = args[:info_types] if args.key?(:info_types)
|
1225
1232
|
@parent_type = args[:parent_type] if args.key?(:parent_type)
|
1226
1233
|
end
|
1227
1234
|
end
|
@@ -5409,6 +5416,12 @@ module Google
|
|
5409
5416
|
# @return [String]
|
5410
5417
|
attr_accessor :data_profile
|
5411
5418
|
|
5419
|
+
# Type of information detected by SDP. Info type includes name, version and
|
5420
|
+
# sensitivity of the detected information type.
|
5421
|
+
# Corresponds to the JSON property `infoTypes`
|
5422
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2InfoType>]
|
5423
|
+
attr_accessor :info_types
|
5424
|
+
|
5412
5425
|
# The resource hierarchy level at which the data profile was generated.
|
5413
5426
|
# Corresponds to the JSON property `parentType`
|
5414
5427
|
# @return [String]
|
@@ -5421,6 +5434,7 @@ module Google
|
|
5421
5434
|
# Update properties of this object
|
5422
5435
|
def update!(**args)
|
5423
5436
|
@data_profile = args[:data_profile] if args.key?(:data_profile)
|
5437
|
+
@info_types = args[:info_types] if args.key?(:info_types)
|
5424
5438
|
@parent_type = args[:parent_type] if args.key?(:parent_type)
|
5425
5439
|
end
|
5426
5440
|
end
|
@@ -7202,6 +7216,42 @@ module Google
|
|
7202
7216
|
end
|
7203
7217
|
end
|
7204
7218
|
|
7219
|
+
# Type of information detected by the API.
|
7220
|
+
class GoogleCloudSecuritycenterV2InfoType
|
7221
|
+
include Google::Apis::Core::Hashable
|
7222
|
+
|
7223
|
+
# Name of the information type. Either a name of your choosing when creating a
|
7224
|
+
# CustomInfoType, or one of the names listed at https://cloud.google.com/
|
7225
|
+
# sensitive-data-protection/docs/infotypes-reference when specifying a built-in
|
7226
|
+
# type. When sending Cloud DLP results to Data Catalog, infoType names should
|
7227
|
+
# conform to the pattern `[A-Za-z0-9$_-]`1,64``.
|
7228
|
+
# Corresponds to the JSON property `name`
|
7229
|
+
# @return [String]
|
7230
|
+
attr_accessor :name
|
7231
|
+
|
7232
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
7233
|
+
# means the data is more sensitive.
|
7234
|
+
# Corresponds to the JSON property `sensitivityScore`
|
7235
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SensitivityScore]
|
7236
|
+
attr_accessor :sensitivity_score
|
7237
|
+
|
7238
|
+
# Optional version name for this InfoType.
|
7239
|
+
# Corresponds to the JSON property `version`
|
7240
|
+
# @return [String]
|
7241
|
+
attr_accessor :version
|
7242
|
+
|
7243
|
+
def initialize(**args)
|
7244
|
+
update!(**args)
|
7245
|
+
end
|
7246
|
+
|
7247
|
+
# Update properties of this object
|
7248
|
+
def update!(**args)
|
7249
|
+
@name = args[:name] if args.key?(:name)
|
7250
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
7251
|
+
@version = args[:version] if args.key?(:version)
|
7252
|
+
end
|
7253
|
+
end
|
7254
|
+
|
7205
7255
|
# IP rule information.
|
7206
7256
|
class GoogleCloudSecuritycenterV2IpRule
|
7207
7257
|
include Google::Apis::Core::Hashable
|
@@ -9274,6 +9324,26 @@ module Google
|
|
9274
9324
|
end
|
9275
9325
|
end
|
9276
9326
|
|
9327
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
9328
|
+
# means the data is more sensitive.
|
9329
|
+
class GoogleCloudSecuritycenterV2SensitivityScore
|
9330
|
+
include Google::Apis::Core::Hashable
|
9331
|
+
|
9332
|
+
# The sensitivity score applied to the resource.
|
9333
|
+
# Corresponds to the JSON property `score`
|
9334
|
+
# @return [String]
|
9335
|
+
attr_accessor :score
|
9336
|
+
|
9337
|
+
def initialize(**args)
|
9338
|
+
update!(**args)
|
9339
|
+
end
|
9340
|
+
|
9341
|
+
# Update properties of this object
|
9342
|
+
def update!(**args)
|
9343
|
+
@score = args[:score] if args.key?(:score)
|
9344
|
+
end
|
9345
|
+
end
|
9346
|
+
|
9277
9347
|
# Identity delegation history of an authenticated service account.
|
9278
9348
|
class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
|
9279
9349
|
include Google::Apis::Core::Hashable
|
@@ -9891,6 +9961,42 @@ module Google
|
|
9891
9961
|
end
|
9892
9962
|
end
|
9893
9963
|
|
9964
|
+
# Type of information detected by the API.
|
9965
|
+
class InfoType
|
9966
|
+
include Google::Apis::Core::Hashable
|
9967
|
+
|
9968
|
+
# Name of the information type. Either a name of your choosing when creating a
|
9969
|
+
# CustomInfoType, or one of the names listed at https://cloud.google.com/
|
9970
|
+
# sensitive-data-protection/docs/infotypes-reference when specifying a built-in
|
9971
|
+
# type. When sending Cloud DLP results to Data Catalog, infoType names should
|
9972
|
+
# conform to the pattern `[A-Za-z0-9$_-]`1,64``.
|
9973
|
+
# Corresponds to the JSON property `name`
|
9974
|
+
# @return [String]
|
9975
|
+
attr_accessor :name
|
9976
|
+
|
9977
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
9978
|
+
# means the data is more sensitive.
|
9979
|
+
# Corresponds to the JSON property `sensitivityScore`
|
9980
|
+
# @return [Google::Apis::SecuritycenterV1beta1::SensitivityScore]
|
9981
|
+
attr_accessor :sensitivity_score
|
9982
|
+
|
9983
|
+
# Optional version name for this InfoType.
|
9984
|
+
# Corresponds to the JSON property `version`
|
9985
|
+
# @return [String]
|
9986
|
+
attr_accessor :version
|
9987
|
+
|
9988
|
+
def initialize(**args)
|
9989
|
+
update!(**args)
|
9990
|
+
end
|
9991
|
+
|
9992
|
+
# Update properties of this object
|
9993
|
+
def update!(**args)
|
9994
|
+
@name = args[:name] if args.key?(:name)
|
9995
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
9996
|
+
@version = args[:version] if args.key?(:version)
|
9997
|
+
end
|
9998
|
+
end
|
9999
|
+
|
9894
10000
|
# IP rule information.
|
9895
10001
|
class IpRule
|
9896
10002
|
include Google::Apis::Core::Hashable
|
@@ -10306,6 +10412,13 @@ module Google
|
|
10306
10412
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::Operation>]
|
10307
10413
|
attr_accessor :operations
|
10308
10414
|
|
10415
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
10416
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
10417
|
+
# when attempting to list all resources across all supported locations.
|
10418
|
+
# Corresponds to the JSON property `unreachable`
|
10419
|
+
# @return [Array<String>]
|
10420
|
+
attr_accessor :unreachable
|
10421
|
+
|
10309
10422
|
def initialize(**args)
|
10310
10423
|
update!(**args)
|
10311
10424
|
end
|
@@ -10314,6 +10427,7 @@ module Google
|
|
10314
10427
|
def update!(**args)
|
10315
10428
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
10316
10429
|
@operations = args[:operations] if args.key?(:operations)
|
10430
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
10317
10431
|
end
|
10318
10432
|
end
|
10319
10433
|
|
@@ -11523,6 +11637,26 @@ module Google
|
|
11523
11637
|
end
|
11524
11638
|
end
|
11525
11639
|
|
11640
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
11641
|
+
# means the data is more sensitive.
|
11642
|
+
class SensitivityScore
|
11643
|
+
include Google::Apis::Core::Hashable
|
11644
|
+
|
11645
|
+
# The sensitivity score applied to the resource.
|
11646
|
+
# Corresponds to the JSON property `score`
|
11647
|
+
# @return [String]
|
11648
|
+
attr_accessor :score
|
11649
|
+
|
11650
|
+
def initialize(**args)
|
11651
|
+
update!(**args)
|
11652
|
+
end
|
11653
|
+
|
11654
|
+
# Update properties of this object
|
11655
|
+
def update!(**args)
|
11656
|
+
@score = args[:score] if args.key?(:score)
|
11657
|
+
end
|
11658
|
+
end
|
11659
|
+
|
11526
11660
|
# Identity delegation history of an authenticated service account.
|
11527
11661
|
class ServiceAccountDelegationInfo
|
11528
11662
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta1
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.98.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20251006"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -946,6 +946,12 @@ module Google
|
|
946
946
|
include Google::Apis::Core::JsonObjectSupport
|
947
947
|
end
|
948
948
|
|
949
|
+
class GoogleCloudSecuritycenterV2InfoType
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
949
955
|
class GoogleCloudSecuritycenterV2IpRule
|
950
956
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
957
|
|
@@ -1270,6 +1276,12 @@ module Google
|
|
1270
1276
|
include Google::Apis::Core::JsonObjectSupport
|
1271
1277
|
end
|
1272
1278
|
|
1279
|
+
class GoogleCloudSecuritycenterV2SensitivityScore
|
1280
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1281
|
+
|
1282
|
+
include Google::Apis::Core::JsonObjectSupport
|
1283
|
+
end
|
1284
|
+
|
1273
1285
|
class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
|
1274
1286
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
1287
|
|
@@ -1366,6 +1378,12 @@ module Google
|
|
1366
1378
|
include Google::Apis::Core::JsonObjectSupport
|
1367
1379
|
end
|
1368
1380
|
|
1381
|
+
class InfoType
|
1382
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1383
|
+
|
1384
|
+
include Google::Apis::Core::JsonObjectSupport
|
1385
|
+
end
|
1386
|
+
|
1369
1387
|
class IpRule
|
1370
1388
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
1389
|
|
@@ -1624,6 +1642,12 @@ module Google
|
|
1624
1642
|
include Google::Apis::Core::JsonObjectSupport
|
1625
1643
|
end
|
1626
1644
|
|
1645
|
+
class SensitivityScore
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1647
|
+
|
1648
|
+
include Google::Apis::Core::JsonObjectSupport
|
1649
|
+
end
|
1650
|
+
|
1627
1651
|
class ServiceAccountDelegationInfo
|
1628
1652
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1629
1653
|
|
@@ -2015,6 +2039,8 @@ module Google
|
|
2015
2039
|
# @private
|
2016
2040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017
2041
|
property :data_profile, as: 'dataProfile'
|
2042
|
+
collection :info_types, as: 'infoTypes', class: Google::Apis::SecuritycenterV1beta1::InfoType, decorator: Google::Apis::SecuritycenterV1beta1::InfoType::Representation
|
2043
|
+
|
2018
2044
|
property :parent_type, as: 'parentType'
|
2019
2045
|
end
|
2020
2046
|
end
|
@@ -3054,6 +3080,8 @@ module Google
|
|
3054
3080
|
# @private
|
3055
3081
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3056
3082
|
property :data_profile, as: 'dataProfile'
|
3083
|
+
collection :info_types, as: 'infoTypes', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2InfoType, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2InfoType::Representation
|
3084
|
+
|
3057
3085
|
property :parent_type, as: 'parentType'
|
3058
3086
|
end
|
3059
3087
|
end
|
@@ -3512,6 +3540,16 @@ module Google
|
|
3512
3540
|
end
|
3513
3541
|
end
|
3514
3542
|
|
3543
|
+
class GoogleCloudSecuritycenterV2InfoType
|
3544
|
+
# @private
|
3545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3546
|
+
property :name, as: 'name'
|
3547
|
+
property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SensitivityScore, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SensitivityScore::Representation
|
3548
|
+
|
3549
|
+
property :version, as: 'version'
|
3550
|
+
end
|
3551
|
+
end
|
3552
|
+
|
3515
3553
|
class GoogleCloudSecuritycenterV2IpRule
|
3516
3554
|
# @private
|
3517
3555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4084,6 +4122,13 @@ module Google
|
|
4084
4122
|
end
|
4085
4123
|
end
|
4086
4124
|
|
4125
|
+
class GoogleCloudSecuritycenterV2SensitivityScore
|
4126
|
+
# @private
|
4127
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4128
|
+
property :score, as: 'score'
|
4129
|
+
end
|
4130
|
+
end
|
4131
|
+
|
4087
4132
|
class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
|
4088
4133
|
# @private
|
4089
4134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4243,6 +4288,16 @@ module Google
|
|
4243
4288
|
end
|
4244
4289
|
end
|
4245
4290
|
|
4291
|
+
class InfoType
|
4292
|
+
# @private
|
4293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4294
|
+
property :name, as: 'name'
|
4295
|
+
property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::SecuritycenterV1beta1::SensitivityScore, decorator: Google::Apis::SecuritycenterV1beta1::SensitivityScore::Representation
|
4296
|
+
|
4297
|
+
property :version, as: 'version'
|
4298
|
+
end
|
4299
|
+
end
|
4300
|
+
|
4246
4301
|
class IpRule
|
4247
4302
|
# @private
|
4248
4303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4356,6 +4411,7 @@ module Google
|
|
4356
4411
|
property :next_page_token, as: 'nextPageToken'
|
4357
4412
|
collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta1::Operation, decorator: Google::Apis::SecuritycenterV1beta1::Operation::Representation
|
4358
4413
|
|
4414
|
+
collection :unreachable, as: 'unreachable'
|
4359
4415
|
end
|
4360
4416
|
end
|
4361
4417
|
|
@@ -4681,6 +4737,13 @@ module Google
|
|
4681
4737
|
end
|
4682
4738
|
end
|
4683
4739
|
|
4740
|
+
class SensitivityScore
|
4741
|
+
# @private
|
4742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4743
|
+
property :score, as: 'score'
|
4744
|
+
end
|
4745
|
+
end
|
4746
|
+
|
4684
4747
|
class ServiceAccountDelegationInfo
|
4685
4748
|
# @private
|
4686
4749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -437,6 +437,13 @@ module Google
|
|
437
437
|
# The standard list page size.
|
438
438
|
# @param [String] page_token
|
439
439
|
# The standard list page token.
|
440
|
+
# @param [Boolean] return_partial_success
|
441
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
442
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
443
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
444
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
445
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
446
|
+
# explicitly documented otherwise in service or product specific documentation.
|
440
447
|
# @param [String] fields
|
441
448
|
# Selector specifying which fields to include in a partial response.
|
442
449
|
# @param [String] quota_user
|
@@ -454,7 +461,7 @@ module Google
|
|
454
461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
455
462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
456
463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
457
|
-
def list_organization_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
464
|
+
def list_organization_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
458
465
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
459
466
|
command.response_representation = Google::Apis::SecuritycenterV1beta1::ListOperationsResponse::Representation
|
460
467
|
command.response_class = Google::Apis::SecuritycenterV1beta1::ListOperationsResponse
|
@@ -462,6 +469,7 @@ module Google
|
|
462
469
|
command.query['filter'] = filter unless filter.nil?
|
463
470
|
command.query['pageSize'] = page_size unless page_size.nil?
|
464
471
|
command.query['pageToken'] = page_token unless page_token.nil?
|
472
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
465
473
|
command.query['fields'] = fields unless fields.nil?
|
466
474
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
467
475
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.98.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.98.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|