Discovery Engine v1 API - Class FirestoreSource (1.5.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class FirestoreSource.

Firestore source import data from.

Inheritance

object > FirestoreSource

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

FirestoreSource()

public FirestoreSource()

FirestoreSource(FirestoreSource)

public FirestoreSource(FirestoreSource other)
Parameter
Name Description
other FirestoreSource

Properties

CollectionId

public string CollectionId { get; set; }

Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.

Property Value
Type Description
string

DatabaseId

public string DatabaseId { get; set; }

Required. The Firestore database to copy the data from with a length limit of 256 characters.

Property Value
Type Description
string

GcsStagingDir

public string GcsStagingDir { get; set; }

Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory.

Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.

Property Value
Type Description
string

ProjectId

public string ProjectId { get; set; }

The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

Property Value
Type Description
string