GuardrailVersionSummary¶
- class oci.generative_ai_inference.models.GuardrailVersionSummary(**kwargs)¶
Bases:
objectDetails of a guardrail version.
Methods:
__init__(**kwargs)Initializes a new GuardrailVersionSummary object with values from keyword arguments.
Attributes:
[Required] Gets the description of this GuardrailVersionSummary.
[Required] Gets the guardrail_version of this GuardrailVersionSummary.
[Required] Gets the state of this GuardrailVersionSummary.
Gets the time_activated of this GuardrailVersionSummary.
Gets the time_deprecated of this GuardrailVersionSummary.
Gets the time_previewed of this GuardrailVersionSummary.
Gets the time_retired of this GuardrailVersionSummary.
- __init__(**kwargs)¶
Initializes a new GuardrailVersionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
guardrail_version (str) – The value to assign to the guardrail_version property of this GuardrailVersionSummary.
state (str) – The value to assign to the state property of this GuardrailVersionSummary.
time_previewed (datetime) – The value to assign to the time_previewed property of this GuardrailVersionSummary.
time_activated (datetime) – The value to assign to the time_activated property of this GuardrailVersionSummary.
time_deprecated (datetime) – The value to assign to the time_deprecated property of this GuardrailVersionSummary.
time_retired (datetime) – The value to assign to the time_retired property of this GuardrailVersionSummary.
description (str) – The value to assign to the description property of this GuardrailVersionSummary.
- property description¶
[Required] Gets the description of this GuardrailVersionSummary. The description of the guardrail version.
- Returns
The description of this GuardrailVersionSummary.
- Return type
str
- property guardrail_version¶
[Required] Gets the guardrail_version of this GuardrailVersionSummary. The guardrail system version string, e.g., “1.0.0”
- Returns
The guardrail_version of this GuardrailVersionSummary.
- Return type
str
- property state¶
[Required] Gets the state of this GuardrailVersionSummary. The state of the guardrail version.
- Returns
The state of this GuardrailVersionSummary.
- Return type
str
- property time_activated¶
Gets the time_activated of this GuardrailVersionSummary. The activation date of the guardrail version.
- Returns
The time_activated of this GuardrailVersionSummary.
- Return type
datetime
- property time_deprecated¶
Gets the time_deprecated of this GuardrailVersionSummary. The deprecated date of the guardrail version.
- Returns
The time_deprecated of this GuardrailVersionSummary.
- Return type
datetime
- property time_previewed¶
Gets the time_previewed of this GuardrailVersionSummary. The preview date of the guardrail version.
- Returns
The time_previewed of this GuardrailVersionSummary.
- Return type
datetime
- property time_retired¶
Gets the time_retired of this GuardrailVersionSummary. The retired date of the guardrail version.
- Returns
The time_retired of this GuardrailVersionSummary.
- Return type
datetime