Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::FirestoreSource (v0.7.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::FirestoreSource.

Firestore source import data from.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#collection_id

def collection_id() -> ::String
Returns
  • (::String) — Required. The Firestore collection to copy the data from with a length limit of 1,500 characters.

#collection_id=

def collection_id=(value) -> ::String
Parameter
  • value (::String) — Required. The Firestore collection to copy the data from with a length limit of 1,500 characters.
Returns
  • (::String) — Required. The Firestore collection to copy the data from with a length limit of 1,500 characters.

#database_id

def database_id() -> ::String
Returns
  • (::String) — Required. The Firestore database to copy the data from with a length limit of 256 characters.

#database_id=

def database_id=(value) -> ::String
Parameter
  • value (::String) — Required. The Firestore database to copy the data from with a length limit of 256 characters.
Returns
  • (::String) — Required. The Firestore database to copy the data from with a length limit of 256 characters.

#gcs_staging_dir

def gcs_staging_dir() -> ::String
Returns
  • (::String) — 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.

#gcs_staging_dir=

def gcs_staging_dir=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#project_id

def project_id() -> ::String
Returns
  • (::String) — 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.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.