google-apis-securitycenter_v1 0.25.0 → 0.26.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: 4e8c7c03d81b3c2dc7ebf13f217eebb7a8c53f40b0e1694dd2245bbd497e6ecd
4
- data.tar.gz: 4abf2e27c1b9cf658df2508d9d9096272f54a8d8ae3a75d4275a4ddac36de724
3
+ metadata.gz: bc5c1d98d4f0032e024279180985e2145625bd941d8dc45e869d672ba5bd0b9c
4
+ data.tar.gz: 5d5e34a1599fe2d74ca704fab13c663b1b94f42ec61d52aded95675affb52a31
5
5
  SHA512:
6
- metadata.gz: f53aeb3c1818634d801ee8ca8451c38aa6eaad5436c1e50ccb8a8c3536c89b75afe60a4dd0acaddc6a0e34a9d04975513414d6097577054ee6186e665b4e7bf5
7
- data.tar.gz: cd75ed858baa452e13359476cd4a62fc72c026edfe4952048b34acf21044a7dedd5a3987fef7fb22e8d5b00079ea835c375f909e2f19f21bf30b4f50d8f6a346
6
+ metadata.gz: 4fb74b6fad085536cc2237b67a6d0dc29b2dc2da871c2da8d8322998526f631806d7e0bac6a2b7388ec59105609263a5705ba49f837290123187e7dccbe7f165
7
+ data.tar.gz: 543362886b288ddc14fcd9229348948d655c1cff01456adfba9215bf33e9270988deb924da6290450d2e0036875eeeb163e05a06b222c071ad4acb5ae25276f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.26.0 (2022-04-05)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
3
7
  ### v0.25.0 (2022-03-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20220318
@@ -608,6 +608,11 @@ module Google
608
608
  # @return [String]
609
609
  attr_accessor :finding_class
610
610
 
611
+ # Represents IAM bindings associated with the Finding.
612
+ # Corresponds to the JSON property `iamBindings`
613
+ # @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
614
+ attr_accessor :iam_bindings
615
+
611
616
  # Represents what's commonly known as an Indicator of compromise (IoC) in
612
617
  # computer forensics. This is an artifact observed on a network or in an
613
618
  # operating system that, with high confidence, indicates a computer intrusion.
@@ -649,6 +654,11 @@ module Google
649
654
  # @return [String]
650
655
  attr_accessor :name
651
656
 
657
+ # Next steps associate to the finding.
658
+ # Corresponds to the JSON property `nextSteps`
659
+ # @return [String]
660
+ attr_accessor :next_steps
661
+
652
662
  # The relative resource name of the source the finding belongs to. See: https://
653
663
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
654
664
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -712,12 +722,14 @@ module Google
712
722
  @external_systems = args[:external_systems] if args.key?(:external_systems)
713
723
  @external_uri = args[:external_uri] if args.key?(:external_uri)
714
724
  @finding_class = args[:finding_class] if args.key?(:finding_class)
725
+ @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
715
726
  @indicator = args[:indicator] if args.key?(:indicator)
716
727
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
717
728
  @mute = args[:mute] if args.key?(:mute)
718
729
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
719
730
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
720
731
  @name = args[:name] if args.key?(:name)
732
+ @next_steps = args[:next_steps] if args.key?(:next_steps)
721
733
  @parent = args[:parent] if args.key?(:parent)
722
734
  @resource_name = args[:resource_name] if args.key?(:resource_name)
723
735
  @security_marks = args[:security_marks] if args.key?(:security_marks)
@@ -1802,6 +1814,40 @@ module Google
1802
1814
  end
1803
1815
  end
1804
1816
 
1817
+ # Represents a particular IAM binding, which captures a member's role addition,
1818
+ # removal, or state.
1819
+ class IamBinding
1820
+ include Google::Apis::Core::Hashable
1821
+
1822
+ # The action that was performed on a Binding.
1823
+ # Corresponds to the JSON property `action`
1824
+ # @return [String]
1825
+ attr_accessor :action
1826
+
1827
+ # A single identity requesting access for a Cloud Platform resource, e.g. "foo@
1828
+ # google.com".
1829
+ # Corresponds to the JSON property `member`
1830
+ # @return [String]
1831
+ attr_accessor :member
1832
+
1833
+ # Role that is assigned to "members". For example, "roles/viewer", "roles/editor"
1834
+ # , or "roles/owner".
1835
+ # Corresponds to the JSON property `role`
1836
+ # @return [String]
1837
+ attr_accessor :role
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @action = args[:action] if args.key?(:action)
1846
+ @member = args[:member] if args.key?(:member)
1847
+ @role = args[:role] if args.key?(:role)
1848
+ end
1849
+ end
1850
+
1805
1851
  # Cloud IAM Policy information associated with the Google Cloud resource
1806
1852
  # described by the Security Command Center asset. This information is managed
1807
1853
  # and defined by the Google Cloud resource and cannot be modified by the user.
@@ -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.25.0"
19
+ GEM_VERSION = "0.26.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 = "20220318"
25
+ REVISION = "20220401"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class IamBinding
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class IamPolicy
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -542,6 +548,8 @@ module Google
542
548
 
543
549
  property :external_uri, as: 'externalUri'
544
550
  property :finding_class, as: 'findingClass'
551
+ collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::IamBinding, decorator: Google::Apis::SecuritycenterV1::IamBinding::Representation
552
+
545
553
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
546
554
 
547
555
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
@@ -550,6 +558,7 @@ module Google
550
558
  property :mute_initiator, as: 'muteInitiator'
551
559
  property :mute_update_time, as: 'muteUpdateTime'
552
560
  property :name, as: 'name'
561
+ property :next_steps, as: 'nextSteps'
553
562
  property :parent, as: 'parent'
554
563
  property :resource_name, as: 'resourceName'
555
564
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation
@@ -800,6 +809,15 @@ module Google
800
809
  end
801
810
  end
802
811
 
812
+ class IamBinding
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :action, as: 'action'
816
+ property :member, as: 'member'
817
+ property :role, as: 'role'
818
+ end
819
+ end
820
+
803
821
  class IamPolicy
804
822
  # @private
805
823
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-11 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []