Class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ImportDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ImportDocumentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firestore_v1beta1/classes.rb,
generated/google/apis/firestore_v1beta1/representations.rb,
generated/google/apis/firestore_v1beta1/representations.rb
Overview
The request for FirestoreAdmin.ImportDocuments.
Instance Attribute Summary collapse
-
#collection_ids ⇒ Array<String>
Which collection ids to import.
-
#input_uri_prefix ⇒ String
Location of the exported files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1beta1ImportDocumentsRequest
constructor
A new instance of GoogleFirestoreAdminV1beta1ImportDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1beta1ImportDocumentsRequest
Returns a new instance of GoogleFirestoreAdminV1beta1ImportDocumentsRequest
912 913 914 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_ids ⇒ Array<String>
Which collection ids to import. Unspecified means all collections included
in the import.
Corresponds to the JSON property collectionIds
901 902 903 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 901 def collection_ids @collection_ids end |
#input_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.v1beta1.ExportDocumentsResponse.output_uri_prefix.
Corresponds to the JSON property inputUriPrefix
910 911 912 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 910 def input_uri_prefix @input_uri_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
917 918 919 920 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 917 def update!(**args) @collection_ids = args[:collection_ids] if args.key?(:collection_ids) @input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix) end |