Class ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource
The "ragFiles" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource
Constructors
RagFilesResource(IClientService)
Constructs a new resource.
Declaration
public RagFilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.OperationsResource |
Methods
Delete(string)
Deletes a RagFile.
Declaration
public virtual ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the RagFile resource to be deleted. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.DeleteRequest |
Get(string)
Gets a RagFile.
Declaration
public virtual ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the RagFile resource. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.GetRequest |
Import(GoogleCloudAiplatformV1beta1ImportRagFilesRequest, string)
Import files from Google Cloud Storage or Google Drive into a RagCorpus.
Declaration
public virtual ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.ImportRequest Import(GoogleCloudAiplatformV1beta1ImportRagFilesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1ImportRagFilesRequest | body | The body of the request. |
string | parent | Required. The name of the RagCorpus resource into which to import files. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.ImportRequest |
List(string)
Lists RagFiles in a RagCorpus.
Declaration
public virtual ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the RagCorpus from which to list the RagFiles. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RagCorporaResource.RagFilesResource.ListRequest |