Class: Google::Apis::IamV1::AdminAuditData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

Audit log information specific to Cloud IAM admin APIs. This message is serialized as an Any type in the ServiceData message of an AuditLog message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdminAuditData

Returns a new instance of AdminAuditData.



87
88
89
# File 'lib/google/apis/iam_v1/classes.rb', line 87

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

Instance Attribute Details

#permission_deltaGoogle::Apis::IamV1::PermissionDelta

A PermissionDelta message to record the added_permissions and removed_permissions inside a role. Corresponds to the JSON property permissionDelta



85
86
87
# File 'lib/google/apis/iam_v1/classes.rb', line 85

def permission_delta
  @permission_delta
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



92
93
94
# File 'lib/google/apis/iam_v1/classes.rb', line 92

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