Class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ExportDocumentsRequest

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

Overview

The request for FirestoreAdmin.ExportDocuments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1beta2ExportDocumentsRequest

Returns a new instance of GoogleFirestoreAdminV1beta2ExportDocumentsRequest.



302
303
304
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 302

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

Instance Attribute Details

#collection_idsArray<String>

Which collection ids to export. Unspecified means all collections. Corresponds to the JSON property collectionIds

Returns:

  • (Array<String>)


289
290
291
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 289

def collection_ids
  @collection_ids
end

#output_uri_prefixString

The output URI. Currently only supports Google Cloud Storage URIs of the form: gs://BUCKET_NAME[/NAMESPACE_PATH], where BUCKET_NAME is the name of the Google Cloud Storage bucket and NAMESPACE_PATH is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time. Corresponds to the JSON property outputUriPrefix

Returns:

  • (String)


300
301
302
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 300

def output_uri_prefix
  @output_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



307
308
309
310
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 307

def update!(**args)
  @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
  @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
end