Vertex AI v1beta1 API - Class RagFileMetadataConfig (1.0.0-beta38)

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

Reference documentation and code samples for the Vertex AI v1beta1 API class RagFileMetadataConfig.

Metadata config for RagFile.

Inheritance

object > RagFileMetadataConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

RagFileMetadataConfig()

public RagFileMetadataConfig()

RagFileMetadataConfig(RagFileMetadataConfig)

public RagFileMetadataConfig(RagFileMetadataConfig other)
Parameter
Name Description
other RagFileMetadataConfig

Properties

GcsMetadataSchemaSource

public GcsSource GcsMetadataSchemaSource { get; set; }

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.
Property Value
Type Description
GcsSource

GcsMetadataSource

public GcsSource GcsMetadataSource { get; set; }

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.
Property Value
Type Description
GcsSource

GoogleDriveMetadataSchemaSource

public GoogleDriveSource GoogleDriveMetadataSchemaSource { get; set; }

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

Property Value
Type Description
GoogleDriveSource

GoogleDriveMetadataSource

public GoogleDriveSource GoogleDriveMetadataSource { get; set; }

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

Property Value
Type Description
GoogleDriveSource

HasInlineMetadataSchemaSource

public bool HasInlineMetadataSchemaSource { get; }

Gets whether the "inline_metadata_schema_source" field is set

Property Value
Type Description
bool

HasInlineMetadataSource

public bool HasInlineMetadataSource { get; }

Gets whether the "inline_metadata_source" field is set

Property Value
Type Description
bool

InlineMetadataSchemaSource

public string InlineMetadataSchemaSource { get; set; }

Inline metadata schema source. Must be a JSON string.

Property Value
Type Description
string

InlineMetadataSource

public string InlineMetadataSource { get; set; }

Inline metadata source. Must be a JSON string.

Property Value
Type Description
string

MetadataSchemaSourceCase

public RagFileMetadataConfig.MetadataSchemaSourceOneofCase MetadataSchemaSourceCase { get; }
Property Value
Type Description
RagFileMetadataConfigMetadataSchemaSourceOneofCase

MetadataSourceCase

public RagFileMetadataConfig.MetadataSourceOneofCase MetadataSourceCase { get; }
Property Value
Type Description
RagFileMetadataConfigMetadataSourceOneofCase