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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AdminAuditData

Returns a new instance of AdminAuditData.


37
38
39
# File 'generated/google/apis/iam_v1/classes.rb', line 37

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


35
36
37
# File 'generated/google/apis/iam_v1/classes.rb', line 35

def permission_delta
  @permission_delta
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


42
43
44
# File 'generated/google/apis/iam_v1/classes.rb', line 42

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