HttpEndpointAuthSource¶
- class oci.generative_ai_agent.models.HttpEndpointAuthSource(**kwargs)¶
Bases:
objectA credential source and configuration for a specific scope to HTTP Endpoint tools.
Attributes:
A constant which can be used with the http_endpoint_auth_scope property of a HttpEndpointAuthSource.
[Required] Gets the http_endpoint_auth_scope of this HttpEndpointAuthSource.
[Required] Gets the http_endpoint_auth_scope_config of this HttpEndpointAuthSource.
Methods:
__init__(**kwargs)Initializes a new HttpEndpointAuthSource object with values from keyword arguments.
- HTTP_ENDPOINT_AUTH_SCOPE_AGENT = 'AGENT'¶
A constant which can be used with the http_endpoint_auth_scope property of a HttpEndpointAuthSource. This constant has a value of “AGENT”
- __init__(**kwargs)¶
Initializes a new HttpEndpointAuthSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
http_endpoint_auth_scope (str) – The value to assign to the http_endpoint_auth_scope property of this HttpEndpointAuthSource. Allowed values for this property are: “AGENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
http_endpoint_auth_scope_config (oci.generative_ai_agent.models.HttpEndpointAuthScopeConfig) – The value to assign to the http_endpoint_auth_scope_config property of this HttpEndpointAuthSource.
- property http_endpoint_auth_scope¶
[Required] Gets the http_endpoint_auth_scope of this HttpEndpointAuthSource. Specifies the level from which credentials should be resolved.
Allowed values for this property are: “AGENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The http_endpoint_auth_scope of this HttpEndpointAuthSource.
- Return type
str
- property http_endpoint_auth_scope_config¶
[Required] Gets the http_endpoint_auth_scope_config of this HttpEndpointAuthSource.
- Returns
The http_endpoint_auth_scope_config of this HttpEndpointAuthSource.
- Return type