Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@google-cloud/procurement is missing most API methods #5288

Open
Wazbat opened this issue Apr 26, 2024 · 1 comment
Open

@google-cloud/procurement is missing most API methods #5288

Wazbat opened this issue Apr 26, 2024 · 1 comment
Labels
needs more info This issue needs more information from the customer to proceed.

Comments

@Wazbat
Copy link

Wazbat commented Apr 26, 2024

Environment details

  • which product (packages/*): @google-cloud/procurement
  • OS: N/A
  • Node.js version: 20
  • npm version: 10.5.0
  • google-cloud-node version: N/A

Steps to reproduce

  1. Install @google-cloud/procurement
  2. Try to use the procurement APIs listed here: https://cloud.google.com/marketplace/docs/partners/commerce-procurement-api/reference/rest/v1/providers.entitlements
  3. No method exists

Report

Hi there!
I'm trying to call the GCP Marketplace procurement APIs from a Node.js environment, however these require authentication. I have checked the docs which all point me towards using the client libraries, however after installing it I notice that the vast majority of API methods are missing from the library

Also, after checking the source code I can see that the host is incorrect, cloudcommerceconsumerprocurement.googleapis.com instead of cloudcommerceprocurement.googleapis.com which is what the docs say you're supposed to call

@sofisl
Copy link
Contributor

sofisl commented Feb 4, 2025

Hi there! You are pointing to our REST documentation. Can you give these API methods listed here a try instead?

@sofisl sofisl added the needs more info This issue needs more information from the customer to proceed. label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed.
Projects
None yet
Development

No branches or pull requests

2 participants