google-apis-securitycenter_v1beta2 0.80.0 → 0.82.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: be9ac77a9ac73510f4c9cca25ad2791617d675d3a46632e7182360217989abf7
4
- data.tar.gz: 37c3e365146c2502f47d53a8288b01dc789bb3b726a2767c414ea96574dd68c0
3
+ metadata.gz: 0d6ec61e0cba422dbc57e0f084d10080ac098e5566b8e20eb1ce28e74cd6b3b3
4
+ data.tar.gz: d703617ae21f6df50a8d84c31894369ab6d25f46dc671876817a87682bc103dc
5
5
  SHA512:
6
- metadata.gz: d4f0febf9c99fe1496dac24e43b5f6a8dd177fd30bcbe324d9ca2d2a71209956563feeb338ddd9df57f82252ec32a0fbec36428b91a12db30aa9992e03c0df5f
7
- data.tar.gz: 2844a996082155e4b9e5f3729c3594d64162ec8f5d4ecebee9fddac737e39e789af47136427b74942146a1c049bc87f769ccb32a098982b18ca8da51f57d3780
6
+ metadata.gz: cbd580595e8c53a81c43edffcbe81dff1ac8c13e415533c174a7bc675ac9c1a8b42f803094911bd0b69d702ee98b809bf91f677aa405775ff81f80a8155376f7
7
+ data.tar.gz: d4579c5c4ba3ec05b0be41067bc22b0d76d425a481d5842a57e0a327188758e7a366163fdb82ea23ebe63e94037af2ee5c36473397cb282e582d2e68a14ba6c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.82.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250519
6
+
7
+ ### v0.81.0 (2025-05-04)
8
+
9
+ * Regenerated using generator version 0.17.0
10
+
3
11
  ### v0.80.0 (2025-04-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20250411
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/security-command-center) ma
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1906,6 +1906,11 @@ module Google
1906
1906
  # @return [Fixnum]
1907
1907
  attr_accessor :hashed_size
1908
1908
 
1909
+ # Operation(s) performed on a file.
1910
+ # Corresponds to the JSON property `operations`
1911
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::FileOperation>]
1912
+ attr_accessor :operations
1913
+
1909
1914
  # True when the hash covers only a prefix of the file.
1910
1915
  # Corresponds to the JSON property `partiallyHashed`
1911
1916
  # @return [Boolean]
@@ -1937,6 +1942,7 @@ module Google
1937
1942
  @contents = args[:contents] if args.key?(:contents)
1938
1943
  @disk_path = args[:disk_path] if args.key?(:disk_path)
1939
1944
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
1945
+ @operations = args[:operations] if args.key?(:operations)
1940
1946
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
1941
1947
  @path = args[:path] if args.key?(:path)
1942
1948
  @sha256 = args[:sha256] if args.key?(:sha256)
@@ -1944,6 +1950,25 @@ module Google
1944
1950
  end
1945
1951
  end
1946
1952
 
1953
+ # Operation(s) performed on a file.
1954
+ class FileOperation
1955
+ include Google::Apis::Core::Hashable
1956
+
1957
+ # The type of the operation
1958
+ # Corresponds to the JSON property `type`
1959
+ # @return [String]
1960
+ attr_accessor :type
1961
+
1962
+ def initialize(**args)
1963
+ update!(**args)
1964
+ end
1965
+
1966
+ # Update properties of this object
1967
+ def update!(**args)
1968
+ @type = args[:type] if args.key?(:type)
1969
+ end
1970
+ end
1971
+
1947
1972
  # Security Command Center finding. A finding is a record of assessment data like
1948
1973
  # security, risk, health, or privacy, that is ingested into Security Command
1949
1974
  # Center for presentation, notification, analysis, policy testing, and
@@ -5624,6 +5649,11 @@ module Google
5624
5649
  # @return [Fixnum]
5625
5650
  attr_accessor :hashed_size
5626
5651
 
5652
+ # Operation(s) performed on a file.
5653
+ # Corresponds to the JSON property `operations`
5654
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation>]
5655
+ attr_accessor :operations
5656
+
5627
5657
  # True when the hash covers only a prefix of the file.
5628
5658
  # Corresponds to the JSON property `partiallyHashed`
5629
5659
  # @return [Boolean]
@@ -5655,6 +5685,7 @@ module Google
5655
5685
  @contents = args[:contents] if args.key?(:contents)
5656
5686
  @disk_path = args[:disk_path] if args.key?(:disk_path)
5657
5687
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
5688
+ @operations = args[:operations] if args.key?(:operations)
5658
5689
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
5659
5690
  @path = args[:path] if args.key?(:path)
5660
5691
  @sha256 = args[:sha256] if args.key?(:sha256)
@@ -5662,6 +5693,25 @@ module Google
5662
5693
  end
5663
5694
  end
5664
5695
 
5696
+ # Operation(s) performed on a file.
5697
+ class GoogleCloudSecuritycenterV2FileOperation
5698
+ include Google::Apis::Core::Hashable
5699
+
5700
+ # The type of the operation
5701
+ # Corresponds to the JSON property `type`
5702
+ # @return [String]
5703
+ attr_accessor :type
5704
+
5705
+ def initialize(**args)
5706
+ update!(**args)
5707
+ end
5708
+
5709
+ # Update properties of this object
5710
+ def update!(**args)
5711
+ @type = args[:type] if args.key?(:type)
5712
+ end
5713
+ end
5714
+
5665
5715
  # Security Command Center finding. A finding is a record of assessment data like
5666
5716
  # security, risk, health, or privacy, that is ingested into Security Command
5667
5717
  # Center for presentation, notification, analysis, policy testing, and
@@ -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.80.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250411"
25
+ REVISION = "20250519"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class FileOperation
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class Finding
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -766,6 +772,12 @@ module Google
766
772
  include Google::Apis::Core::JsonObjectSupport
767
773
  end
768
774
 
775
+ class GoogleCloudSecuritycenterV2FileOperation
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
769
781
  class GoogleCloudSecuritycenterV2Finding
770
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
783
 
@@ -1945,6 +1957,8 @@ module Google
1945
1957
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::DiskPath::Representation
1946
1958
 
1947
1959
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
1960
+ collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::FileOperation::Representation
1961
+
1948
1962
  property :partially_hashed, as: 'partiallyHashed'
1949
1963
  property :path, as: 'path'
1950
1964
  property :sha256, as: 'sha256'
@@ -1952,6 +1966,13 @@ module Google
1952
1966
  end
1953
1967
  end
1954
1968
 
1969
+ class FileOperation
1970
+ # @private
1971
+ class Representation < Google::Apis::Core::JsonRepresentation
1972
+ property :type, as: 'type'
1973
+ end
1974
+ end
1975
+
1955
1976
  class Finding
1956
1977
  # @private
1957
1978
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2852,6 +2873,8 @@ module Google
2852
2873
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath::Representation
2853
2874
 
2854
2875
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
2876
+ collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation::Representation
2877
+
2855
2878
  property :partially_hashed, as: 'partiallyHashed'
2856
2879
  property :path, as: 'path'
2857
2880
  property :sha256, as: 'sha256'
@@ -2859,6 +2882,13 @@ module Google
2859
2882
  end
2860
2883
  end
2861
2884
 
2885
+ class GoogleCloudSecuritycenterV2FileOperation
2886
+ # @private
2887
+ class Representation < Google::Apis::Core::JsonRepresentation
2888
+ property :type, as: 'type'
2889
+ end
2890
+ end
2891
+
2862
2892
  class GoogleCloudSecuritycenterV2Finding
2863
2893
  # @private
2864
2894
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.80.0
4
+ version: 0.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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_v1beta2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.80.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.82.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Security Command Center API V1beta2
79
79
  test_files: []