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(Azure.AI.Projects.OpenAI.AgentResponseItemSource createdBy = default, string id = default, string consentLink = default, string serverLabel = default);
static member OAuthConsentRequestResponseItem : Azure.AI.Projects.OpenAI.AgentResponseItemSource * string * string * string -> Azure.AI.Projects.OpenAI.OAuthConsentRequestResponseItem
Public Shared Function OAuthConsentRequestResponseItem (Optional createdBy As AgentResponseItemSource = Nothing, Optional id As String = Nothing, Optional consentLink As String = Nothing, Optional serverLabel As String = Nothing) As OAuthConsentRequestResponseItem
Parameters
- createdBy
- AgentResponseItemSource
The information about the creator of the item.
- id
- String
- 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.