Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2GroupMembership

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2GroupMembership

Returns a new instance of GoogleCloudSecuritycenterV2GroupMembership.



7079
7080
7081
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7079

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#group_idString

Corresponds to the JSON property groupId

Returns:

  • (String)


7072
7073
7074
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7072

def group_id
  @group_id
end

#group_typeString

Corresponds to the JSON property groupType

Returns:

  • (String)


7077
7078
7079
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7077

def group_type
  @group_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7084
7085
7086
7087
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7084

def update!(**args)
  @group_id = args[:group_id] if args.key?(:group_id)
  @group_type = args[:group_type] if args.key?(:group_type)
end