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, 2019 in GCP by anonymous
• 6,260 points
102 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, 2019 by Sirajul
• 58,130 points

Related Questions In GCP

+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 22 in GCP by MD
• 66,620 points
53 views
+2 votes
1 answer

How to create a VPC on GCP from command line?

Hi@akhtar, To create a personal network, you need ...READ MORE

answered Aug 24 in GCP by MD
• 66,620 points
93 views
+2 votes
1 answer

How to create a GKE cluster from command line?

Hi@MD, A cluster consists of at least one cluster master machine ...READ MORE

answered Aug 24 in GCP by akhtar
• 28,740 points
69 views
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,320 points
881 views
0 votes
1 answer

GCP Error: 403: Access Denied

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

answered Oct 9, 2019 in GCP by Sirajul
• 58,130 points
629 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, 2019 in GCP by Sirajul
• 58,130 points
1,538 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer