ThinAuthorizationResponse¶
- class oci.identity_data_plane.models.ThinAuthorizationResponse(**kwargs)¶
Bases:
objectThinAuthorizationResponse model.
Methods:
__init__(**kwargs)Initializes a new ThinAuthorizationResponse object with values from keyword arguments.
Attributes:
[Required] Gets the authorization_request of this ThinAuthorizationResponse.
[Required] Gets the decision_cache_duration of this ThinAuthorizationResponse.
- __init__(**kwargs)¶
Initializes a new ThinAuthorizationResponse object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
authorization_request (oci.identity_data_plane.models.AuthorizationRequest) – The value to assign to the authorization_request property of this ThinAuthorizationResponse.
decision_cache_duration (str) – The value to assign to the decision_cache_duration property of this ThinAuthorizationResponse.
- property authorization_request¶
[Required] Gets the authorization_request of this ThinAuthorizationResponse. The policy string related to the request.
- Returns
The authorization_request of this ThinAuthorizationResponse.
- Return type
- property decision_cache_duration¶
[Required] Gets the decision_cache_duration of this ThinAuthorizationResponse. The duration of how long this decision should be cached. Note that the type is of type java.time.Duration, not string.
- Returns
The decision_cache_duration of this ThinAuthorizationResponse.
- Return type
str