Class: Google::Apis::SecuritycenterV1beta1::Binding
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Binding
- 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
-
#condition ⇒ Google::Apis::SecuritycenterV1beta1::Expr
Corresponds to the JSON property
condition. -
#members ⇒ Array<String>
Corresponds to the JSON property
members. -
#role ⇒ String
Corresponds to the JSON property
role.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Binding
constructor
A new instance of Binding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Binding
Returns a new instance of Binding.
1028 1029 1030 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ Google::Apis::SecuritycenterV1beta1::Expr
Corresponds to the JSON property condition
1016 1017 1018 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1016 def condition @condition end |
#members ⇒ Array<String>
Corresponds to the JSON property members
1021 1022 1023 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1021 def members @members end |
#role ⇒ String
Corresponds to the JSON property role
1026 1027 1028 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1026 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1033 1034 1035 1036 1037 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1033 def update!(**args) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end |