ProjectsOpenAIModelFactory.OAuthConsentRequestResponseItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Request from the service for the user to perform OAuth consent.
public static Azure.AI.Projects.OpenAI.OAuthConsentRequestResponseItem OAuthConsentRequestResponseItem(string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default, string consentLink = default, string serverLabel = default);
static member OAuthConsentRequestResponseItem : string * Azure.AI.Projects.OpenAI.AgentReference * string * string * string -> Azure.AI.Projects.OpenAI.OAuthConsentRequestResponseItem
Public Shared Function OAuthConsentRequestResponseItem (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional consentLink As String = Nothing, Optional serverLabel As String = Nothing) As OAuthConsentRequestResponseItem
Parameters
- id
- String
- agentReference
- AgentReference
The agent that created the item.
- responseId
- String
The response on which the item is created.
- consentLink
- String
The link the user can use to perform OAuth consent.
- serverLabel
- String
The server label for the OAuth consent request.
Returns
A new OAuthConsentRequestResponseItem instance for mocking.