Class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ImportDocumentsRequest

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

Overview

The request for FirestoreAdmin.ImportDocuments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1beta2ImportDocumentsRequest

Returns a new instance of GoogleFirestoreAdminV1beta2ImportDocumentsRequest



352
353
354
# File 'generated/google/apis/firestore_v1beta2/classes.rb', line 352

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#collection_idsArray<String>

Which collection ids to import. Unspecified means all collections included in the import. Corresponds to the JSON property collectionIds

Returns:

  • (Array<String>)


341
342
343
# File 'generated/google/apis/firestore_v1beta2/classes.rb', line 341

def collection_ids
  @collection_ids
end

#input_uri_prefixString

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.v1beta2.ExportDocumentsResponse.output_uri_prefix. Corresponds to the JSON property inputUriPrefix

Returns:

  • (String)


350
351
352
# File 'generated/google/apis/firestore_v1beta2/classes.rb', line 350

def input_uri_prefix
  @input_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



357
358
359
360
# File 'generated/google/apis/firestore_v1beta2/classes.rb', line 357

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