Class ProjectsResource.LocationsResource.RetrieveContextsRequest
Retrieves relevant contexts for a query.
Inheritance
ProjectsResource.LocationsResource.RetrieveContextsRequest
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RetrieveContextsRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>, IClientServiceRequest
Constructors
RetrieveContextsRequest(IClientService, GoogleCloudAiplatformV1beta1RetrieveContextsRequest, string)
Constructs a new RetrieveContexts request.
Declaration
public RetrieveContextsRequest(IClientService service, GoogleCloudAiplatformV1beta1RetrieveContextsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1RetrieveContextsRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The resource name of the Location from which to retrieve RagContexts. The users must have
permission to make a call in the project. Format: projects/{project}/locations/{location}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RetrieveContexts parameter list.
Declaration
protected override void InitParameters()