Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::ImportDocumentsRequest.
The request for FirestoreAdmin.ImportDocuments.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#collection_ids
def collection_ids() -> ::Array<::String>
- (::Array<::String>) — Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.
#collection_ids=
def collection_ids=(value) -> ::Array<::String>
- value (::Array<::String>) — Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.
- (::Array<::String>) — Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.
#input_uri_prefix
def input_uri_prefix() -> ::String
- (::String) — Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
#input_uri_prefix=
def input_uri_prefix=(value) -> ::String
- value (::String) — Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
- (::String) — Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
#name
def name() -> ::String
-
(::String) — Required. Database to import into. Should be of the form:
projects/{project_id}/databases/{database_id}
.
#name=
def name=(value) -> ::String
-
value (::String) — Required. Database to import into. Should be of the form:
projects/{project_id}/databases/{database_id}
.
-
(::String) — Required. Database to import into. Should be of the form:
projects/{project_id}/databases/{database_id}
.
#namespace_ids
def namespace_ids() -> ::Array<::String>
-
(::Array<::String>) — An empty list represents all namespaces. This is the preferred
usage for databases that don't use namespaces.
An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
#namespace_ids=
def namespace_ids=(value) -> ::Array<::String>
-
value (::Array<::String>) — An empty list represents all namespaces. This is the preferred
usage for databases that don't use namespaces.
An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
-
(::Array<::String>) — An empty list represents all namespaces. This is the preferred
usage for databases that don't use namespaces.
An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.