Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gcloud compute interconnects attachments provider create api

hi,everyone, 

I have a scenario now, there is a corresponding API that can directly call the gcloud command: "gcloud compute interconnects attachments provider create", thanks for the help guys. love from India

1 1 234
1 REPLY 1

Hi @mercury,

Welcome to Google Cloud Community!

Based on my understanding, what you want to achieve is to get the equivalent Rest API for gcloud command line:

gcloud compute interconnects attachments provider create

In that case you can check this reference on  Request body parameters for Interconnect Attachment . This will give you an idea on how to create an equivalent Rest API for the mentioned gcloud command line.

You can also check the result of your request API by trying the method, which is located on the right panel of the provided reference. To further guide you on how to use this, please refer to Try This Method.

I hope the above information is helpful.