ActivityLog¶
- 
class oci.lockbox.models.ActivityLog(**kwargs)¶
- Bases: - object- The log of the action taken by different persona on the access request, e.g. approve/deny/revoke - Attributes - ACTION_APPROVE- A constant which can be used with the action property of a ActivityLog. - ACTION_CANCEL- A constant which can be used with the action property of a ActivityLog. - ACTION_DENY- A constant which can be used with the action property of a ActivityLog. - ACTION_REVOKE- A constant which can be used with the action property of a ActivityLog. - USER_LEVEL_ADMIN- A constant which can be used with the user_level property of a ActivityLog. - USER_LEVEL_LEVEL1- A constant which can be used with the user_level property of a ActivityLog. - USER_LEVEL_LEVEL2- A constant which can be used with the user_level property of a ActivityLog. - USER_LEVEL_LEVEL3- A constant which can be used with the user_level property of a ActivityLog. - USER_LEVEL_OPERATOR- A constant which can be used with the user_level property of a ActivityLog. - action- Gets the action of this ActivityLog. - message- Gets the message of this ActivityLog. - time_updated- Gets the time_updated of this ActivityLog. - user_id- Gets the user_id of this ActivityLog. - user_level- Gets the user_level of this ActivityLog. - Methods - __init__(**kwargs)- Initializes a new ActivityLog object with values from keyword arguments. - 
ACTION_APPROVE= 'APPROVE'¶
- A constant which can be used with the action property of a ActivityLog. This constant has a value of “APPROVE” 
 - 
ACTION_CANCEL= 'CANCEL'¶
- A constant which can be used with the action property of a ActivityLog. This constant has a value of “CANCEL” 
 - 
ACTION_DENY= 'DENY'¶
- A constant which can be used with the action property of a ActivityLog. This constant has a value of “DENY” 
 - 
ACTION_REVOKE= 'REVOKE'¶
- A constant which can be used with the action property of a ActivityLog. This constant has a value of “REVOKE” 
 - 
USER_LEVEL_ADMIN= 'ADMIN'¶
- A constant which can be used with the user_level property of a ActivityLog. This constant has a value of “ADMIN” 
 - 
USER_LEVEL_LEVEL1= 'LEVEL1'¶
- A constant which can be used with the user_level property of a ActivityLog. This constant has a value of “LEVEL1” 
 - 
USER_LEVEL_LEVEL2= 'LEVEL2'¶
- A constant which can be used with the user_level property of a ActivityLog. This constant has a value of “LEVEL2” 
 - 
USER_LEVEL_LEVEL3= 'LEVEL3'¶
- A constant which can be used with the user_level property of a ActivityLog. This constant has a value of “LEVEL3” 
 - 
USER_LEVEL_OPERATOR= 'OPERATOR'¶
- A constant which can be used with the user_level property of a ActivityLog. This constant has a value of “OPERATOR” 
 - 
__init__(**kwargs)¶
- Initializes a new ActivityLog object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - user_id (str) – The value to assign to the user_id property of this ActivityLog.
- user_level (str) – The value to assign to the user_level property of this ActivityLog. Allowed values for this property are: “LEVEL1”, “LEVEL2”, “LEVEL3”, “ADMIN”, “OPERATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- action (str) – The value to assign to the action property of this ActivityLog. Allowed values for this property are: “APPROVE”, “DENY”, “REVOKE”, “CANCEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- message (str) – The value to assign to the message property of this ActivityLog.
- time_updated (datetime) – The value to assign to the time_updated property of this ActivityLog.
 
 - 
action¶
- Gets the action of this ActivityLog. The action take by persona - Allowed values for this property are: “APPROVE”, “DENY”, “REVOKE”, “CANCEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The action of this ActivityLog. - Return type: - str 
 - 
message¶
- Gets the message of this ActivityLog. The action justification or details. - Returns: - The message of this ActivityLog. - Return type: - str 
 - 
time_updated¶
- Gets the time_updated of this ActivityLog. The time the action was taken. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z - Returns: - The time_updated of this ActivityLog. - Return type: - datetime 
 - 
user_id¶
- Gets the user_id of this ActivityLog. User OCID of the persona - Returns: - The user_id of this ActivityLog. - Return type: - str 
 - 
user_level¶
- Gets the user_level of this ActivityLog. Level of the persona - Allowed values for this property are: “LEVEL1”, “LEVEL2”, “LEVEL3”, “ADMIN”, “OPERATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The user_level of this ActivityLog. - Return type: - str 
 
-