Class: Google::Apis::SecuritycenterV1beta1::GroupMembership
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GroupMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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.
10024 10025 10026 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
Corresponds to the JSON property groupId
10017 10018 10019 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10017 def group_id @group_id end |
#group_type ⇒ String
Corresponds to the JSON property groupType
10022 10023 10024 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10022 def group_type @group_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10029 10030 10031 10032 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10029 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @group_type = args[:group_type] if args.key?(:group_type) end |