UpdatePolicyDetails

class oci.identity.models.UpdatePolicyDetails(**kwargs)

Bases: object

UpdatePolicyDetails model.

Methods

__init__(**kwargs) Initializes a new UpdatePolicyDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdatePolicyDetails.
description Gets the description of this UpdatePolicyDetails.
freeform_tags Gets the freeform_tags of this UpdatePolicyDetails.
statements Gets the statements of this UpdatePolicyDetails.
version_date Gets the version_date of this UpdatePolicyDetails.
__init__(**kwargs)

Initializes a new UpdatePolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • description (str) – The value to assign to the description property of this UpdatePolicyDetails.
  • statements (list[str]) – The value to assign to the statements property of this UpdatePolicyDetails.
  • version_date (datetime) – The value to assign to the version_date property of this UpdatePolicyDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdatePolicyDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdatePolicyDetails.
defined_tags

Gets the defined_tags of this UpdatePolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdatePolicyDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdatePolicyDetails. The description you assign to the policy. Does not have to be unique, and it’s changeable.

Returns:The description of this UpdatePolicyDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdatePolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdatePolicyDetails.
Return type:dict(str, str)
statements

Gets the statements of this UpdatePolicyDetails. An array of policy statements written in the policy language. See How Policies Work and Common Policies.

Returns:The statements of this UpdatePolicyDetails.
Return type:list[str]
version_date

Gets the version_date of this UpdatePolicyDetails. The version of the policy. If null or set to an empty string, when a request comes in for authorization, the policy will be evaluated according to the current behavior of the services at that moment. If set to a particular date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date.

Returns:The version_date of this UpdatePolicyDetails.
Return type:datetime