Class: Google::Apis::IamV2::GoogleIamAdminV1AuditDataPermissionDelta
- Inherits:
-
Object
- Object
- Google::Apis::IamV2::GoogleIamAdminV1AuditDataPermissionDelta
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v2/classes.rb,
lib/google/apis/iam_v2/representations.rb,
lib/google/apis/iam_v2/representations.rb
Overview
A PermissionDelta message to record the added_permissions and removed_permissions inside a role.
Instance Attribute Summary collapse
-
#added_permissions ⇒ Array<String>
Added permissions.
-
#removed_permissions ⇒ Array<String>
Removed permissions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIamAdminV1AuditDataPermissionDelta
constructor
A new instance of GoogleIamAdminV1AuditDataPermissionDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIamAdminV1AuditDataPermissionDelta
Returns a new instance of GoogleIamAdminV1AuditDataPermissionDelta.
147 148 149 |
# File 'lib/google/apis/iam_v2/classes.rb', line 147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_permissions ⇒ Array<String>
Added permissions.
Corresponds to the JSON property addedPermissions
140 141 142 |
# File 'lib/google/apis/iam_v2/classes.rb', line 140 def @added_permissions end |
#removed_permissions ⇒ Array<String>
Removed permissions.
Corresponds to the JSON property removedPermissions
145 146 147 |
# File 'lib/google/apis/iam_v2/classes.rb', line 145 def @removed_permissions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
152 153 154 155 |
# File 'lib/google/apis/iam_v2/classes.rb', line 152 def update!(**args) @added_permissions = args[:added_permissions] if args.key?(:added_permissions) @removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions) end |