gcs_compose_objects {googleCloudStorageR} | R Documentation |
This merges objects stored on Cloud Storage into one object.
gcs_compose_objects(objects, destination, bucket = gcs_get_global_bucket())
objects |
A character vector of object names to combine |
destination |
Name of the new object. |
bucket |
The bucket where the objects sit |
Object metadata
Other object functions:
gcs_copy_object()
,
gcs_delete_object()
,
gcs_get_object()
,
gcs_list_objects()
,
gcs_metadata_object()
## 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)