Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.GetAgentViewRequest
Returns a AgentView for a given Agent, which contains additional information about the Agent.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.GetAgentViewRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse>, IClientServiceRequest
Constructors
GetAgentViewRequest(IClientService, string)
Constructs a new GetAgentView request.
Declaration
public GetAgentViewRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
AdminView
Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user.
Declaration
[RequestParameter("adminView", RequestParameterType.Query)]
public virtual bool? AdminView { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LanguageCode
Optional. The UI language currently shown to the user. Specifying this field request that the texts in the AgentView in the response should be translated to this language.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxSuggestedPrompts
Optional. The maximum number of suggested prompts to return per agent.
Declaration
[RequestParameter("maxSuggestedPrompts", RequestParameterType.Query)]
public virtual int? MaxSuggestedPrompts { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The name of the Agent to get. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes GetAgentView parameter list.
Declaration
protected override void InitParameters()