DelegatedResourceAccessRequestApprovalDetails¶
-
class
oci.delegate_access_control.models.DelegatedResourceAccessRequestApprovalDetails(**kwargs)¶ Bases:
objectApproval info for initial access or extension of a Delegated Resource Access Request
Attributes
APPROVAL_ACTION_APPROVEA constant which can be used with the approval_action property of a DelegatedResourceAccessRequestApprovalDetails. APPROVAL_ACTION_REJECTA constant which can be used with the approval_action property of a DelegatedResourceAccessRequestApprovalDetails. APPROVAL_TYPE_EXTENSIONA constant which can be used with the approval_type property of a DelegatedResourceAccessRequestApprovalDetails. APPROVAL_TYPE_INITIALA constant which can be used with the approval_type property of a DelegatedResourceAccessRequestApprovalDetails. approval_actionGets the approval_action of this DelegatedResourceAccessRequestApprovalDetails. approval_typeGets the approval_type of this DelegatedResourceAccessRequestApprovalDetails. approver_additional_messageGets the approver_additional_message of this DelegatedResourceAccessRequestApprovalDetails. approver_comment[Required] Gets the approver_comment of this DelegatedResourceAccessRequestApprovalDetails. approver_idGets the approver_id of this DelegatedResourceAccessRequestApprovalDetails. time_approved_for_accessGets the time_approved_for_access of this DelegatedResourceAccessRequestApprovalDetails. Methods
__init__(**kwargs)Initializes a new DelegatedResourceAccessRequestApprovalDetails object with values from keyword arguments. -
APPROVAL_ACTION_APPROVE= 'APPROVE'¶ A constant which can be used with the approval_action property of a DelegatedResourceAccessRequestApprovalDetails. This constant has a value of “APPROVE”
-
APPROVAL_ACTION_REJECT= 'REJECT'¶ A constant which can be used with the approval_action property of a DelegatedResourceAccessRequestApprovalDetails. This constant has a value of “REJECT”
-
APPROVAL_TYPE_EXTENSION= 'EXTENSION'¶ A constant which can be used with the approval_type property of a DelegatedResourceAccessRequestApprovalDetails. This constant has a value of “EXTENSION”
-
APPROVAL_TYPE_INITIAL= 'INITIAL'¶ A constant which can be used with the approval_type property of a DelegatedResourceAccessRequestApprovalDetails. This constant has a value of “INITIAL”
-
__init__(**kwargs)¶ Initializes a new DelegatedResourceAccessRequestApprovalDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - approval_action (str) – The value to assign to the approval_action property of this DelegatedResourceAccessRequestApprovalDetails. Allowed values for this property are: “APPROVE”, “REJECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_approved_for_access (datetime) – The value to assign to the time_approved_for_access property of this DelegatedResourceAccessRequestApprovalDetails.
- approval_type (str) – The value to assign to the approval_type property of this DelegatedResourceAccessRequestApprovalDetails. Allowed values for this property are: “INITIAL”, “EXTENSION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- approver_comment (str) – The value to assign to the approver_comment property of this DelegatedResourceAccessRequestApprovalDetails.
- approver_id (str) – The value to assign to the approver_id property of this DelegatedResourceAccessRequestApprovalDetails.
- approver_additional_message (str) – The value to assign to the approver_additional_message property of this DelegatedResourceAccessRequestApprovalDetails.
-
approval_action¶ Gets the approval_action of this DelegatedResourceAccessRequestApprovalDetails. Indicated whether the request is approved or rejected.
Allowed values for this property are: “APPROVE”, “REJECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The approval_action of this DelegatedResourceAccessRequestApprovalDetails. Return type: str
-
approval_type¶ Gets the approval_type of this DelegatedResourceAccessRequestApprovalDetails. approval type, initial or extension
Allowed values for this property are: “INITIAL”, “EXTENSION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The approval_type of this DelegatedResourceAccessRequestApprovalDetails. Return type: str
-
approver_additional_message¶ Gets the approver_additional_message of this DelegatedResourceAccessRequestApprovalDetails. Additional message specified by the approver of the request.
Returns: The approver_additional_message of this DelegatedResourceAccessRequestApprovalDetails. Return type: str
-
approver_comment¶ [Required] Gets the approver_comment of this DelegatedResourceAccessRequestApprovalDetails. Comment specified by the approver of the request.
Returns: The approver_comment of this DelegatedResourceAccessRequestApprovalDetails. Return type: str
-
approver_id¶ Gets the approver_id of this DelegatedResourceAccessRequestApprovalDetails. User ID of the approver.
Returns: The approver_id of this DelegatedResourceAccessRequestApprovalDetails. Return type: str
-
time_approved_for_access¶ Gets the time_approved_for_access of this DelegatedResourceAccessRequestApprovalDetails. Access start time that is actually approved by the customer in `RFC 3339`__timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
Returns: The time_approved_for_access of this DelegatedResourceAccessRequestApprovalDetails. Return type: datetime
-