Google Cloud Ai Platform V1 Client - Class GetRagFileRequest (1.17.0)

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

Request message for VertexRagDataService.GetRagFile

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

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 RagFile resource. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}

getName

Required. The name of the RagFile resource.

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

Returns
Type Description
string

setName

Required. The name of the RagFile resource.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetRagFileRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.