Class RagFileMetadataConfig (1.135.0)

RagFileMetadataConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata config for RagFile.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
gcs_metadata_schema_source google.cloud.aiplatform_v1beta1.types.GcsSource
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 the user provides a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory. This field is a member of oneof_ metadata_schema_source.
google_drive_metadata_schema_source google.cloud.aiplatform_v1beta1.types.GoogleDriveSource
Google Drive location. Supports importing individual files as well as Google Drive folders. If the user provides a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory. This field is a member of oneof_ metadata_schema_source.
inline_metadata_schema_source str
Inline metadata schema source. Must be a JSON string. This field is a member of oneof_ metadata_schema_source.
gcs_metadata_source google.cloud.aiplatform_v1beta1.types.GcsSource
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 the user provides a directory, the metadata will be read from the files that ends with "metadata.json" in the directory. This field is a member of oneof_ metadata_source.
google_drive_metadata_source google.cloud.aiplatform_v1beta1.types.GoogleDriveSource
Google Drive location. Supports importing individual files as well as Google Drive folders. If the user provides a directory, the metadata will be read from the files that ends with "metadata.json" in the directory. This field is a member of oneof_ metadata_source.
inline_metadata_source str
Inline metadata source. Must be a JSON string. This field is a member of oneof_ metadata_source.

Methods

RagFileMetadataConfig

RagFileMetadataConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata config for RagFile.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields