Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2GroupMembership
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2GroupMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
Instance Attribute Summary collapse
-
#group_id ⇒ String
ID of the group.
-
#group_type ⇒ String
Type of group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2GroupMembership
constructor
A new instance of GoogleCloudSecuritycenterV2GroupMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2GroupMembership
Returns a new instance of GoogleCloudSecuritycenterV2GroupMembership.
6021 6022 6023 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6021 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
ID of the group.
Corresponds to the JSON property groupId
6014 6015 6016 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6014 def group_id @group_id end |
#group_type ⇒ String
Type of group.
Corresponds to the JSON property groupType
6019 6020 6021 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6019 def group_type @group_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6026 6027 6028 6029 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6026 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @group_type = args[:group_type] if args.key?(:group_type) end |