How to create a composite object from already existing objects?

0 votes
I want to create a composite object from the existing objects. How can I do this?
Nov 19 in GCP by anonymous
• 4,330 points
14 views

1 answer to this question.

0 votes

Use the gsutil compose command:

gsutil compose gs://[BUCKET_NAME]/[SOURCE_OBJECT_1] gs://[BUCKET_NAME]/[SOURCE_OBJECT_2] gs://[BUCKET_NAME]/[COMPOSITE_OBJECT_NAME]

Where:

  • [BUCKET_NAME] is the name of the bucket that contains the source objects.

  • [SOURCE_OBJECT_1] and [SOURCE_OBJECT_2] are the names of the source objects to use in the object composition.

  • [COMPOSITE_OBJECT_NAME] is the name you are giving to the result of the object composition.

answered Nov 19 by Sirajul
• 40,980 points

Related Questions In GCP

0 votes
1 answer

How to delete a project from Google Cloud Console

First of all, select the project you ...READ MORE

answered Apr 18, 2018 in GCP by kurt_cobain
• 9,280 points
191 views
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 40,980 points
32 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 40,980 points
93 views