UpdateGovernanceRuleDetails

class oci.governance_rules_control_plane.models.UpdateGovernanceRuleDetails(**kwargs)

Bases: object

Request object for UpdateGovernanceRule operation.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateGovernanceRuleDetails.
description Gets the description of this UpdateGovernanceRuleDetails.
display_name Gets the display_name of this UpdateGovernanceRuleDetails.
freeform_tags Gets the freeform_tags of this UpdateGovernanceRuleDetails.
related_resource_id Gets the related_resource_id of this UpdateGovernanceRuleDetails.
template Gets the template of this UpdateGovernanceRuleDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateGovernanceRuleDetails.
  • description (str) – The value to assign to the description property of this UpdateGovernanceRuleDetails.
  • template (oci.governance_rules_control_plane.models.Template) – The value to assign to the template property of this UpdateGovernanceRuleDetails.
  • related_resource_id (str) – The value to assign to the related_resource_id property of this UpdateGovernanceRuleDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateGovernanceRuleDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateGovernanceRuleDetails.
defined_tags

Gets the defined_tags of this UpdateGovernanceRuleDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

Gets the description of this UpdateGovernanceRuleDetails. Description of the governance rule.

Returns:The description of this UpdateGovernanceRuleDetails.
Return type:str
display_name

Gets the display_name of this UpdateGovernanceRuleDetails. Display name of the governance rule.

Returns:The display_name of this UpdateGovernanceRuleDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateGovernanceRuleDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateGovernanceRuleDetails.
Return type:dict(str, str)
related_resource_id

Gets the related_resource_id of this UpdateGovernanceRuleDetails. The Oracle ID (OCID) of the resource, which was used as a template to create this governance rule.

Returns:The related_resource_id of this UpdateGovernanceRuleDetails.
Return type:str
template

Gets the template of this UpdateGovernanceRuleDetails.

Returns:The template of this UpdateGovernanceRuleDetails.
Return type:oci.governance_rules_control_plane.models.Template