Class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ImportDocumentsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1beta1/classes.rb,
lib/google/apis/firestore_v1beta1/representations.rb,
lib/google/apis/firestore_v1beta1/representations.rb

Overview

The request for FirestoreAdmin.ImportDocuments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1beta1ImportDocumentsRequest

Returns a new instance of GoogleFirestoreAdminV1beta1ImportDocumentsRequest.



1396
1397
1398
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1396

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

Returns:

  • (Array<String>)


1387
1388
1389
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1387

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

Returns:

  • (String)


1394
1395
1396
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1394

def input_uri_prefix
  @input_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1401
1402
1403
1404
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1401

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