Google Cloud Ai Platform V1 Client - Class GetRagCorpusRequest (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetRagCorpusRequest.

Request message for VertexRagDataService.GetRagCorpus

Generated from protobuf message google.cloud.aiplatform.v1.GetRagCorpusRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the RagCorpus resource. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

getName

Required. The name of the RagCorpus resource.

Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Returns
Type Description
string

setName

Required. The name of the RagCorpus resource.

Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the RagCorpus resource. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Please see VertexRagDataServiceClient::ragCorpusName() for help formatting this field.

Returns
Type Description
GetRagCorpusRequest