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

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

Request message for VertexRagDataService.CreateRagCorpus.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the RagCorpus in. Format: projects/{project}/locations/{location}

↳ rag_corpus RagCorpus

Required. The RagCorpus to create.

getParent

Required. The resource name of the Location to create the RagCorpus in.

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

Returns
Type Description
string

setParent

Required. The resource name of the Location to create the RagCorpus in.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRagCorpus

Required. The RagCorpus to create.

Returns
Type Description
RagCorpus|null

hasRagCorpus

clearRagCorpus

setRagCorpus

Required. The RagCorpus to create.

Parameter
Name Description
var RagCorpus
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Location to create the RagCorpus in. Format: projects/{project}/locations/{location} Please see VertexRagDataServiceClient::locationName() for help formatting this field.

ragCorpus RagCorpus

Required. The RagCorpus to create.

Returns
Type Description
CreateRagCorpusRequest