Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFirestoreSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFirestoreSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Firestore source import data from.
Instance Attribute Summary collapse
-
#collection_id ⇒ String
Required.
-
#database_id ⇒ String
Required.
-
#gcs_staging_dir ⇒ String
Optional.
-
#project_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaFirestoreSource
constructor
A new instance of GoogleCloudDiscoveryengineV1betaFirestoreSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaFirestoreSource
Returns a new instance of GoogleCloudDiscoveryengineV1betaFirestoreSource.
5648 5649 5650 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_id ⇒ String
Required. The Firestore collection to copy the data from with a length limit
of 1500 characters.
Corresponds to the JSON property collectionId
5624 5625 5626 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5624 def collection_id @collection_id end |
#database_id ⇒ String
Required. The Firestore database to copy the data from with a length limit of
256 characters.
Corresponds to the JSON property databaseId
5630 5631 5632 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5630 def database_id @database_id end |
#gcs_staging_dir ⇒ String
Optional. 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. Please ensure that the
Firestore service account has the necessary GCS Storage Admin permissions to
access the specified GCS directory.
Corresponds to the JSON property gcsStagingDir
5639 5640 5641 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5639 def gcs_staging_dir @gcs_staging_dir end |
#project_id ⇒ String
Optional. The project ID (can be project # or 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.
Corresponds to the JSON property projectId
5646 5647 5648 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5646 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5653 5654 5655 5656 5657 5658 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5653 def update!(**args) @collection_id = args[:collection_id] if args.key?(:collection_id) @database_id = args[:database_id] if args.key?(:database_id) @gcs_staging_dir = args[:gcs_staging_dir] if args.key?(:gcs_staging_dir) @project_id = args[:project_id] if args.key?(:project_id) end |