GuardrailsImageUrl

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

Bases: object

Provide a base64 encoded image or an image uri if it’s supported.

Methods:

__init__(**kwargs)

Initializes a new GuardrailsImageUrl object with values from keyword arguments.

Attributes:

url

[Required] Gets the url of this GuardrailsImageUrl.

__init__(**kwargs)

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

Parameters

url (str) – The value to assign to the url property of this GuardrailsImageUrl.

property url

[Required] Gets the url of this GuardrailsImageUrl. The base64 encoded image data or an image URI, if supported.

Returns

The url of this GuardrailsImageUrl.

Return type

str