Class: Google::Apis::SecuritycenterV1beta2::GroupMembership
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GroupMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#group_id ⇒ String
Corresponds to the JSON property
groupId. -
#group_type ⇒ String
Corresponds to the JSON property
groupType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupMembership
constructor
A new instance of GroupMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupMembership
Returns a new instance of GroupMembership.
9689 9690 9691 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
Corresponds to the JSON property groupId
9682 9683 9684 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9682 def group_id @group_id end |
#group_type ⇒ String
Corresponds to the JSON property groupType
9687 9688 9689 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9687 def group_type @group_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9694 9695 9696 9697 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9694 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @group_type = args[:group_type] if args.key?(:group_type) end |