google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Cloud Commerce Partner Procurement API

Open sandeep-khanna opened this issue 1 year ago • 4 comments

Is there a reason why this collection does not include the Google Cloud Commerce Partner Procurement API cloud client library?

Elsewhere on GitHub, I have requested the conversion and addition of the Google Cloud Commerce Partner Procurement OpenAPI spec in YAML. This could be used to generate a Java client library using something like OpenAPI Generator.

sandeep-khanna avatar May 19 '24 17:05 sandeep-khanna

Is there a reason why this collection does not include the Google Cloud Commerce Partner Procurement API cloud client library?

Reading the issues that you've linked, I'm assuming you mean that it's not listed in the root discovery doc list? i.e. Not listed here: https://www.googleapis.com/discovery/v1/apis

Note: We have a library here that you can use: https://github.com/googleapis/google-cloud-java/tree/main/java-cloudcommerceconsumerprocurement

lqiu96 avatar May 20 '24 15:05 lqiu96

Note: We have a library here that you can use: https://github.com/googleapis/google-cloud-java/tree/main/java-cloudcommerceconsumerprocurement

This suggested library is for use by Cloud Marketplace customers. My request is related to 'Partner' version of the API leveraged during the provisioning of a marketplace offer.

sandeep-khanna avatar May 20 '24 17:05 sandeep-khanna

I see. I'm not too familiar with the partner version. Let me reach out to the team to get more information about the library and the status.

lqiu96 avatar May 20 '24 19:05 lqiu96

Hi @sandeep-khanna, I have reached out to the service team for more information.

The Partner API is only used for companies selling through GCP Marketplace: https://cloud.google.com/marketplace/docs/partners/get-started. Users are onboarded when they become a reseller. The service team will enable the API on a dedicated "producer project" for that Marketplace Partner and you will be able to use API keys from that project to access the API.

Currently, only certain languages have the Partner API library released (for example: golang). There currently is not an ETA for releasing an equivalent library for Java.

lqiu96 avatar May 21 '24 19:05 lqiu96