UpdateEndpointDetails¶
- class oci.generative_ai.models.UpdateEndpointDetails(**kwargs)¶
Bases:
objectThe data to update an endpoint.
Methods:
__init__(**kwargs)Initializes a new UpdateEndpointDetails object with values from keyword arguments.
Attributes:
Gets the content_moderation_config of this UpdateEndpointDetails.
Gets the defined_tags of this UpdateEndpointDetails.
Gets the description of this UpdateEndpointDetails.
Gets the display_name of this UpdateEndpointDetails.
Gets the freeform_tags of this UpdateEndpointDetails.
Gets the generative_ai_private_endpoint_id of this UpdateEndpointDetails.
Gets the pii_detection_config of this UpdateEndpointDetails.
Gets the prompt_injection_config of this UpdateEndpointDetails.
- __init__(**kwargs)¶
Initializes a new UpdateEndpointDetails 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 UpdateEndpointDetails.
description (str) – The value to assign to the description property of this UpdateEndpointDetails.
generative_ai_private_endpoint_id (str) – The value to assign to the generative_ai_private_endpoint_id property of this UpdateEndpointDetails.
content_moderation_config (oci.generative_ai.models.ContentModerationConfig) – The value to assign to the content_moderation_config property of this UpdateEndpointDetails.
prompt_injection_config (oci.generative_ai.models.PromptInjectionConfig) – The value to assign to the prompt_injection_config property of this UpdateEndpointDetails.
pii_detection_config (oci.generative_ai.models.PiiDetectionConfig) – The value to assign to the pii_detection_config property of this UpdateEndpointDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateEndpointDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateEndpointDetails.
- property content_moderation_config¶
Gets the content_moderation_config of this UpdateEndpointDetails.
- Returns
The content_moderation_config of this UpdateEndpointDetails.
- Return type
- property defined_tags¶
Gets the defined_tags of this UpdateEndpointDetails. 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 UpdateEndpointDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this UpdateEndpointDetails. An optional description of the endpoint.
- Returns
The description of this UpdateEndpointDetails.
- Return type
str
- property display_name¶
Gets the display_name of this UpdateEndpointDetails. A user-friendly name. Does not have to be unique, and it’s changeable.
- Returns
The display_name of this UpdateEndpointDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateEndpointDetails. 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 UpdateEndpointDetails.
- Return type
dict(str, str)
- property generative_ai_private_endpoint_id¶
Gets the generative_ai_private_endpoint_id of this UpdateEndpointDetails. The OCID of the Generative AI private endpoint to which this endpoint will be attached.
- Returns
The generative_ai_private_endpoint_id of this UpdateEndpointDetails.
- Return type
str
- property pii_detection_config¶
Gets the pii_detection_config of this UpdateEndpointDetails.
- Returns
The pii_detection_config of this UpdateEndpointDetails.
- Return type
- property prompt_injection_config¶
Gets the prompt_injection_config of this UpdateEndpointDetails.
- Returns
The prompt_injection_config of this UpdateEndpointDetails.
- Return type