gcs_compose_objects {googleCloudStorageR} | R Documentation |
Compose up to 32 objects into one
Description
This merges objects stored on Cloud Storage into one object.
Usage
gcs_compose_objects(objects, destination, bucket = gcs_get_global_bucket())
Arguments
objects |
A character vector of object names to combine |
destination |
Name of the new object. |
bucket |
The bucket where the objects sit |
Value
Object metadata
See Also
Other object functions:
gcs_copy_object()
,
gcs_delete_object()
,
gcs_get_object()
,
gcs_list_objects()
,
gcs_metadata_object()
Examples
## Not run:
gcs_global_bucket("your-bucket")
objs <- gcs_list_objects()
compose_me <- objs$name[1:30]
gcs_compose_objects(compose_me, "composed/test.json")
## End(Not run)
[Package googleCloudStorageR version 0.7.0 Index]