google-apis-securitycenter_v1 0.108.0 → 0.109.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 563382c162e32c96dff6596fbfbb45690557464ef05ec9a3bd9adee13c5ab2f0
4
- data.tar.gz: 6f82767ff766fc05cff2ddd57bc25c1b6a881fa9bf7465123cef8e6226cdc428
3
+ metadata.gz: 4a1cfbe280b9b9677abf022eb6c4afa3aa0b979372be0581e6615b4926a03332
4
+ data.tar.gz: e35fe99dea7b52d7430af234b9ceb8e17b66dbcce9da970874c4f47a9a08cd0f
5
5
  SHA512:
6
- metadata.gz: a6cdbc3f3c31dae9c7a4dddc992b585b3cb3a1928fb1e13be370c342e5a60905021b83e7b8fc25cb168d50523aeb0fe2bf9d792c6d72d98e94a6dbd0c48c54b3
7
- data.tar.gz: e5d0f45fcdc0678e608d1ee267317ad91054b61f0d75f2359b2b94bf3039226c72e6ea395e8bce64bea57210b7e42f5f9a6c8247366ede8f4516ce259edcf7b0
6
+ metadata.gz: 96898530fcec5ec6d3e72af699298a765725de39d48c5ca21a40ff9df1766940c08dc79263e201fab64af017e81044b3273060b6202c66fe533004a2938655e1
7
+ data.tar.gz: 4fa77158ab232b0e090a8a01dd77aa65b5918976686dc0a85c4f33fde0ed4c3bcefedb6ad91acd0030db546ab8f9f7dab8be3ce9c6d9335399c59fcb544b7c92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.109.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251006
6
+
3
7
  ### v0.108.0 (2025-09-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20250905
@@ -1455,6 +1455,12 @@ module Google
1455
1455
  # @return [String]
1456
1456
  attr_accessor :data_profile
1457
1457
 
1458
+ # Type of information detected by SDP. Info type includes name, version and
1459
+ # sensitivity of the detected information type.
1460
+ # Corresponds to the JSON property `infoTypes`
1461
+ # @return [Array<Google::Apis::SecuritycenterV1::InfoType>]
1462
+ attr_accessor :info_types
1463
+
1458
1464
  # The resource hierarchy level at which the data profile was generated.
1459
1465
  # Corresponds to the JSON property `parentType`
1460
1466
  # @return [String]
@@ -1467,6 +1473,7 @@ module Google
1467
1473
  # Update properties of this object
1468
1474
  def update!(**args)
1469
1475
  @data_profile = args[:data_profile] if args.key?(:data_profile)
1476
+ @info_types = args[:info_types] if args.key?(:info_types)
1470
1477
  @parent_type = args[:parent_type] if args.key?(:parent_type)
1471
1478
  end
1472
1479
  end
@@ -5759,6 +5766,12 @@ module Google
5759
5766
  # @return [String]
5760
5767
  attr_accessor :data_profile
5761
5768
 
5769
+ # Type of information detected by SDP. Info type includes name, version and
5770
+ # sensitivity of the detected information type.
5771
+ # Corresponds to the JSON property `infoTypes`
5772
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2InfoType>]
5773
+ attr_accessor :info_types
5774
+
5762
5775
  # The resource hierarchy level at which the data profile was generated.
5763
5776
  # Corresponds to the JSON property `parentType`
5764
5777
  # @return [String]
@@ -5771,6 +5784,7 @@ module Google
5771
5784
  # Update properties of this object
5772
5785
  def update!(**args)
5773
5786
  @data_profile = args[:data_profile] if args.key?(:data_profile)
5787
+ @info_types = args[:info_types] if args.key?(:info_types)
5774
5788
  @parent_type = args[:parent_type] if args.key?(:parent_type)
5775
5789
  end
5776
5790
  end
@@ -7552,6 +7566,42 @@ module Google
7552
7566
  end
7553
7567
  end
7554
7568
 
7569
+ # Type of information detected by the API.
7570
+ class GoogleCloudSecuritycenterV2InfoType
7571
+ include Google::Apis::Core::Hashable
7572
+
7573
+ # Name of the information type. Either a name of your choosing when creating a
7574
+ # CustomInfoType, or one of the names listed at https://cloud.google.com/
7575
+ # sensitive-data-protection/docs/infotypes-reference when specifying a built-in
7576
+ # type. When sending Cloud DLP results to Data Catalog, infoType names should
7577
+ # conform to the pattern `[A-Za-z0-9$_-]`1,64``.
7578
+ # Corresponds to the JSON property `name`
7579
+ # @return [String]
7580
+ attr_accessor :name
7581
+
7582
+ # Score is calculated from of all elements in the data profile. A higher level
7583
+ # means the data is more sensitive.
7584
+ # Corresponds to the JSON property `sensitivityScore`
7585
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitivityScore]
7586
+ attr_accessor :sensitivity_score
7587
+
7588
+ # Optional version name for this InfoType.
7589
+ # Corresponds to the JSON property `version`
7590
+ # @return [String]
7591
+ attr_accessor :version
7592
+
7593
+ def initialize(**args)
7594
+ update!(**args)
7595
+ end
7596
+
7597
+ # Update properties of this object
7598
+ def update!(**args)
7599
+ @name = args[:name] if args.key?(:name)
7600
+ @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
7601
+ @version = args[:version] if args.key?(:version)
7602
+ end
7603
+ end
7604
+
7555
7605
  # IP rule information.
7556
7606
  class GoogleCloudSecuritycenterV2IpRule
7557
7607
  include Google::Apis::Core::Hashable
@@ -9624,6 +9674,26 @@ module Google
9624
9674
  end
9625
9675
  end
9626
9676
 
9677
+ # Score is calculated from of all elements in the data profile. A higher level
9678
+ # means the data is more sensitive.
9679
+ class GoogleCloudSecuritycenterV2SensitivityScore
9680
+ include Google::Apis::Core::Hashable
9681
+
9682
+ # The sensitivity score applied to the resource.
9683
+ # Corresponds to the JSON property `score`
9684
+ # @return [String]
9685
+ attr_accessor :score
9686
+
9687
+ def initialize(**args)
9688
+ update!(**args)
9689
+ end
9690
+
9691
+ # Update properties of this object
9692
+ def update!(**args)
9693
+ @score = args[:score] if args.key?(:score)
9694
+ end
9695
+ end
9696
+
9627
9697
  # Identity delegation history of an authenticated service account.
9628
9698
  class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
9629
9699
  include Google::Apis::Core::Hashable
@@ -10339,6 +10409,42 @@ module Google
10339
10409
  end
10340
10410
  end
10341
10411
 
10412
+ # Type of information detected by the API.
10413
+ class InfoType
10414
+ include Google::Apis::Core::Hashable
10415
+
10416
+ # Name of the information type. Either a name of your choosing when creating a
10417
+ # CustomInfoType, or one of the names listed at https://cloud.google.com/
10418
+ # sensitive-data-protection/docs/infotypes-reference when specifying a built-in
10419
+ # type. When sending Cloud DLP results to Data Catalog, infoType names should
10420
+ # conform to the pattern `[A-Za-z0-9$_-]`1,64``.
10421
+ # Corresponds to the JSON property `name`
10422
+ # @return [String]
10423
+ attr_accessor :name
10424
+
10425
+ # Score is calculated from of all elements in the data profile. A higher level
10426
+ # means the data is more sensitive.
10427
+ # Corresponds to the JSON property `sensitivityScore`
10428
+ # @return [Google::Apis::SecuritycenterV1::SensitivityScore]
10429
+ attr_accessor :sensitivity_score
10430
+
10431
+ # Optional version name for this InfoType.
10432
+ # Corresponds to the JSON property `version`
10433
+ # @return [String]
10434
+ attr_accessor :version
10435
+
10436
+ def initialize(**args)
10437
+ update!(**args)
10438
+ end
10439
+
10440
+ # Update properties of this object
10441
+ def update!(**args)
10442
+ @name = args[:name] if args.key?(:name)
10443
+ @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
10444
+ @version = args[:version] if args.key?(:version)
10445
+ end
10446
+ end
10447
+
10342
10448
  # IP rule information.
10343
10449
  class IpRule
10344
10450
  include Google::Apis::Core::Hashable
@@ -11027,6 +11133,13 @@ module Google
11027
11133
  # @return [Array<Google::Apis::SecuritycenterV1::Operation>]
11028
11134
  attr_accessor :operations
11029
11135
 
11136
+ # Unordered list. Unreachable resources. Populated when the request sets `
11137
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
11138
+ # when attempting to list all resources across all supported locations.
11139
+ # Corresponds to the JSON property `unreachable`
11140
+ # @return [Array<String>]
11141
+ attr_accessor :unreachable
11142
+
11030
11143
  def initialize(**args)
11031
11144
  update!(**args)
11032
11145
  end
@@ -11035,6 +11148,7 @@ module Google
11035
11148
  def update!(**args)
11036
11149
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
11037
11150
  @operations = args[:operations] if args.key?(:operations)
11151
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
11038
11152
  end
11039
11153
  end
11040
11154
 
@@ -12604,6 +12718,26 @@ module Google
12604
12718
  end
12605
12719
  end
12606
12720
 
12721
+ # Score is calculated from of all elements in the data profile. A higher level
12722
+ # means the data is more sensitive.
12723
+ class SensitivityScore
12724
+ include Google::Apis::Core::Hashable
12725
+
12726
+ # The sensitivity score applied to the resource.
12727
+ # Corresponds to the JSON property `score`
12728
+ # @return [String]
12729
+ attr_accessor :score
12730
+
12731
+ def initialize(**args)
12732
+ update!(**args)
12733
+ end
12734
+
12735
+ # Update properties of this object
12736
+ def update!(**args)
12737
+ @score = args[:score] if args.key?(:score)
12738
+ end
12739
+ end
12740
+
12607
12741
  # Identity delegation history of an authenticated service account.
12608
12742
  class ServiceAccountDelegationInfo
12609
12743
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.108.0"
19
+ GEM_VERSION = "0.109.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 = "20250905"
25
+ REVISION = "20251006"
26
26
  end
27
27
  end
28
28
  end
@@ -1000,6 +1000,12 @@ module Google
1000
1000
  include Google::Apis::Core::JsonObjectSupport
1001
1001
  end
1002
1002
 
1003
+ class GoogleCloudSecuritycenterV2InfoType
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1003
1009
  class GoogleCloudSecuritycenterV2IpRule
1004
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1011
 
@@ -1324,6 +1330,12 @@ module Google
1324
1330
  include Google::Apis::Core::JsonObjectSupport
1325
1331
  end
1326
1332
 
1333
+ class GoogleCloudSecuritycenterV2SensitivityScore
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1327
1339
  class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
1328
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1329
1341
 
@@ -1426,6 +1438,12 @@ module Google
1426
1438
  include Google::Apis::Core::JsonObjectSupport
1427
1439
  end
1428
1440
 
1441
+ class InfoType
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1429
1447
  class IpRule
1430
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1449
 
@@ -1792,6 +1810,12 @@ module Google
1792
1810
  include Google::Apis::Core::JsonObjectSupport
1793
1811
  end
1794
1812
 
1813
+ class SensitivityScore
1814
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1815
+
1816
+ include Google::Apis::Core::JsonObjectSupport
1817
+ end
1818
+
1795
1819
  class ServiceAccountDelegationInfo
1796
1820
  class Representation < Google::Apis::Core::JsonRepresentation; end
1797
1821
 
@@ -2310,6 +2334,8 @@ module Google
2310
2334
  # @private
2311
2335
  class Representation < Google::Apis::Core::JsonRepresentation
2312
2336
  property :data_profile, as: 'dataProfile'
2337
+ collection :info_types, as: 'infoTypes', class: Google::Apis::SecuritycenterV1::InfoType, decorator: Google::Apis::SecuritycenterV1::InfoType::Representation
2338
+
2313
2339
  property :parent_type, as: 'parentType'
2314
2340
  end
2315
2341
  end
@@ -3382,6 +3408,8 @@ module Google
3382
3408
  # @private
3383
3409
  class Representation < Google::Apis::Core::JsonRepresentation
3384
3410
  property :data_profile, as: 'dataProfile'
3411
+ collection :info_types, as: 'infoTypes', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2InfoType, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2InfoType::Representation
3412
+
3385
3413
  property :parent_type, as: 'parentType'
3386
3414
  end
3387
3415
  end
@@ -3840,6 +3868,16 @@ module Google
3840
3868
  end
3841
3869
  end
3842
3870
 
3871
+ class GoogleCloudSecuritycenterV2InfoType
3872
+ # @private
3873
+ class Representation < Google::Apis::Core::JsonRepresentation
3874
+ property :name, as: 'name'
3875
+ property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitivityScore, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitivityScore::Representation
3876
+
3877
+ property :version, as: 'version'
3878
+ end
3879
+ end
3880
+
3843
3881
  class GoogleCloudSecuritycenterV2IpRule
3844
3882
  # @private
3845
3883
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4412,6 +4450,13 @@ module Google
4412
4450
  end
4413
4451
  end
4414
4452
 
4453
+ class GoogleCloudSecuritycenterV2SensitivityScore
4454
+ # @private
4455
+ class Representation < Google::Apis::Core::JsonRepresentation
4456
+ property :score, as: 'score'
4457
+ end
4458
+ end
4459
+
4415
4460
  class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
4416
4461
  # @private
4417
4462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4581,6 +4626,16 @@ module Google
4581
4626
  end
4582
4627
  end
4583
4628
 
4629
+ class InfoType
4630
+ # @private
4631
+ class Representation < Google::Apis::Core::JsonRepresentation
4632
+ property :name, as: 'name'
4633
+ property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::SecuritycenterV1::SensitivityScore, decorator: Google::Apis::SecuritycenterV1::SensitivityScore::Representation
4634
+
4635
+ property :version, as: 'version'
4636
+ end
4637
+ end
4638
+
4584
4639
  class IpRule
4585
4640
  # @private
4586
4641
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4786,6 +4841,7 @@ module Google
4786
4841
  property :next_page_token, as: 'nextPageToken'
4787
4842
  collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1::Operation, decorator: Google::Apis::SecuritycenterV1::Operation::Representation
4788
4843
 
4844
+ collection :unreachable, as: 'unreachable'
4789
4845
  end
4790
4846
  end
4791
4847
 
@@ -5206,6 +5262,13 @@ module Google
5206
5262
  end
5207
5263
  end
5208
5264
 
5265
+ class SensitivityScore
5266
+ # @private
5267
+ class Representation < Google::Apis::Core::JsonRepresentation
5268
+ property :score, as: 'score'
5269
+ end
5270
+ end
5271
+
5209
5272
  class ServiceAccountDelegationInfo
5210
5273
  # @private
5211
5274
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3647,6 +3647,13 @@ module Google
3647
3647
  # The standard list page size.
3648
3648
  # @param [String] page_token
3649
3649
  # The standard list page token.
3650
+ # @param [Boolean] return_partial_success
3651
+ # When set to `true`, operations that are reachable are returned as normal, and
3652
+ # those that are unreachable are returned in the [ListOperationsResponse.
3653
+ # unreachable] field. This can only be `true` when reading across collections e.
3654
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3655
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3656
+ # explicitly documented otherwise in service or product specific documentation.
3650
3657
  # @param [String] fields
3651
3658
  # Selector specifying which fields to include in a partial response.
3652
3659
  # @param [String] quota_user
@@ -3664,7 +3671,7 @@ module Google
3664
3671
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3665
3672
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3666
3673
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3667
- def list_organization_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3674
+ 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)
3668
3675
  command = make_simple_command(:get, 'v1/{+name}', options)
3669
3676
  command.response_representation = Google::Apis::SecuritycenterV1::ListOperationsResponse::Representation
3670
3677
  command.response_class = Google::Apis::SecuritycenterV1::ListOperationsResponse
@@ -3672,6 +3679,7 @@ module Google
3672
3679
  command.query['filter'] = filter unless filter.nil?
3673
3680
  command.query['pageSize'] = page_size unless page_size.nil?
3674
3681
  command.query['pageToken'] = page_token unless page_token.nil?
3682
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
3675
3683
  command.query['fields'] = fields unless fields.nil?
3676
3684
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3677
3685
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.108.0
4
+ version: 0.109.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.108.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.109.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
62
62
  rdoc_options: []
63
63
  require_paths: