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
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) ⇒ 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.
7412 7413 7414 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
Corresponds to the JSON property groupId
7405 7406 7407 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7405 def group_id @group_id end |
#group_type ⇒ String
Corresponds to the JSON property groupType
7410 7411 7412 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7410 def group_type @group_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7417 7418 7419 7420 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7417 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @group_type = args[:group_type] if args.key?(:group_type) end |