Cloud AI Platform v1 API - Class RagFile (3.13.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class RagFile.

A RagFile contains user data for chunking, embedding and indexing.

Inheritance

object > RagFile

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

RagFile()

public RagFile()

RagFile(RagFile)

public RagFile(RagFile other)
Parameter
Name Description
other RagFile

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this RagFile was created.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. The description of the RagFile.

Property Value
Type Description
string

DirectUploadSource

public DirectUploadSource DirectUploadSource { get; set; }

Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.

Property Value
Type Description
DirectUploadSource

DisplayName

public string DisplayName { get; set; }

Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.

Property Value
Type Description
string

FileStatus

public FileStatus FileStatus { get; set; }

Output only. State of the RagFile.

Property Value
Type Description
FileStatus

GcsSource

public GcsSource GcsSource { get; set; }

Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.

Property Value
Type Description
GcsSource

GoogleDriveSource

public GoogleDriveSource GoogleDriveSource { get; set; }

Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.

Property Value
Type Description
GoogleDriveSource

JiraSource

public JiraSource JiraSource { get; set; }

The RagFile is imported from a Jira query.

Property Value
Type Description
JiraSource

Name

public string Name { get; set; }

Output only. The resource name of the RagFile.

Property Value
Type Description
string

RagFileName

public RagFileName RagFileName { get; set; }

RagFileName-typed view over the Name resource name property.

Property Value
Type Description
RagFileName

RagFileSourceCase

public RagFile.RagFileSourceOneofCase RagFileSourceCase { get; }
Property Value
Type Description
RagFileRagFileSourceOneofCase

SharePointSources

public SharePointSources SharePointSources { get; set; }

The RagFile is imported from a SharePoint source.

Property Value
Type Description
SharePointSources

SlackSource

public SlackSource SlackSource { get; set; }

The RagFile is imported from a Slack channel.

Property Value
Type Description
SlackSource

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this RagFile was last updated.

Property Value
Type Description
Timestamp