UpdateUserAssessmentDetails

class oci.data_safe.models.UpdateUserAssessmentDetails(**kwargs)

Bases: object

Updates one or more attributes of the specified user assessment.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateUserAssessmentDetails.
description Gets the description of this UpdateUserAssessmentDetails.
display_name Gets the display_name of this UpdateUserAssessmentDetails.
freeform_tags Gets the freeform_tags of this UpdateUserAssessmentDetails.
schedule Gets the schedule of this UpdateUserAssessmentDetails.
__init__(**kwargs)

Initializes a new UpdateUserAssessmentDetails 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 UpdateUserAssessmentDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateUserAssessmentDetails.
  • schedule (str) – The value to assign to the schedule property of this UpdateUserAssessmentDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateUserAssessmentDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateUserAssessmentDetails.
defined_tags

Gets the defined_tags of this UpdateUserAssessmentDetails. 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 UpdateUserAssessmentDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateUserAssessmentDetails. The description of the user assessment.

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

Gets the display_name of this UpdateUserAssessmentDetails. The display name of the user assessment.

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

Gets the freeform_tags of this UpdateUserAssessmentDetails. 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 UpdateUserAssessmentDetails.
Return type:dict(str, str)
schedule

Gets the schedule of this UpdateUserAssessmentDetails. The schedule for periodically saving the assessment. This is applicable only for assessments of type save schedule and latest assessment. It updates the existing schedule in a specified format: <version-string>;<version-specific-schedule>

Allowed version strings - “v1” v1’s version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month> Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59]) 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59]) 3. hours = <hh> (So, the allowed range for <hh> is [0, 23]) <day-of-week> can be either ‘*’ (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ‘*’. When not, day of week must equal the given value <day-of-month> can be either ‘*’ (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ‘*’. When not, day of month must equal the given value

Returns:The schedule of this UpdateUserAssessmentDetails.
Return type:str