Cloud AI Platform v1beta1 API - Class RetrieveContextsRequest (1.0.0-beta06)

public sealed class RetrieveContextsRequest : IMessage<RetrieveContextsRequest>, IEquatable<RetrieveContextsRequest>, IDeepCloneable<RetrieveContextsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RetrieveContextsRequest.

Request message for [VertexRagService.RetrieveContexts][google.cloud.aiplatform.v1beta1.VertexRagService.RetrieveContexts].

Inheritance

object > RetrieveContextsRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

RetrieveContextsRequest()

public RetrieveContextsRequest()

RetrieveContextsRequest(RetrieveContextsRequest)

public RetrieveContextsRequest(RetrieveContextsRequest other)
Parameter
Name Description
other RetrieveContextsRequest

Properties

DataSourceCase

public RetrieveContextsRequest.DataSourceOneofCase DataSourceCase { get; }
Property Value
Type Description
RetrieveContextsRequestDataSourceOneofCase

Parent

public string Parent { get; set; }

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}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Query

public RagQuery Query { get; set; }

Required. Single RAG retrieve query.

Property Value
Type Description
RagQuery

VertexRagStore

public RetrieveContextsRequest.Types.VertexRagStore VertexRagStore { get; set; }

The data source for Vertex RagStore.

Property Value
Type Description
RetrieveContextsRequestTypesVertexRagStore