Class: Google::Apis::IamV2::GoogleIamAdminV1AuditData

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

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) ⇒ GoogleIamAdminV1AuditData

Returns a new instance of GoogleIamAdminV1AuditData.



122
123
124
# File 'lib/google/apis/iam_v2/classes.rb', line 122

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

Instance Attribute Details

#permission_deltaGoogle::Apis::IamV2::GoogleIamAdminV1AuditDataPermissionDelta

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



120
121
122
# File 'lib/google/apis/iam_v2/classes.rb', line 120

def permission_delta
  @permission_delta
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



127
128
129
# File 'lib/google/apis/iam_v2/classes.rb', line 127

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