GuardrailVersionResponse

class oci.generative_ai_inference.models.GuardrailVersionResponse(**kwargs)

Bases: object

The guardaril version applied on the given content.

Methods:

__init__(**kwargs)

Initializes a new GuardrailVersionResponse object with values from keyword arguments.

Attributes:

version

[Required] Gets the version of this GuardrailVersionResponse.

__init__(**kwargs)

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

Parameters

version (str) – The value to assign to the version property of this GuardrailVersionResponse.

property version

[Required] Gets the version of this GuardrailVersionResponse. The guardrail system version string, e.g., “1.0.0”. When a PATCH version is not specified, the latest available PATCH within the specified MAJOR and MINOR version will be used.

Returns

The version of this GuardrailVersionResponse.

Return type

str