Class: Google::Apis::SecuritycenterV1beta2::IamBinding
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::IamBinding
- 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
-
#action ⇒ String
Corresponds to the JSON property
action. -
#member ⇒ String
Corresponds to the JSON property
member. -
#role ⇒ String
Corresponds to the JSON property
role.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IamBinding
constructor
A new instance of IamBinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IamBinding
Returns a new instance of IamBinding.
9744 9745 9746 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
9732 9733 9734 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9732 def action @action end |
#member ⇒ String
Corresponds to the JSON property member
9737 9738 9739 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9737 def member @member end |
#role ⇒ String
Corresponds to the JSON property role
9742 9743 9744 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9742 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9749 9750 9751 9752 9753 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9749 def update!(**args) @action = args[:action] if args.key?(:action) @member = args[:member] if args.key?(:member) @role = args[:role] if args.key?(:role) end |