472,133 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

How to use / implement a created Google Cloud API

hi guru,

I would like to implement my custom model but do not know how to do that.

In detail, I would like to use the result of PREDICT tab, which is in AutoML Vision UI, as a function namely function A. After that, I have some code in C# which will call function A to use.

Following is what I tried:
In Google Cloud Platform Console, at (PROJECT_NAME)$ directory,

-add request.json file (the content of this file was generated by AutoML Vision UI after training model)
- run curl command
curl -X POST -H "Content-Type: application/json" \ -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \ https://automl.googleapis.com/v1beta...569882:predict -d @request.json

And here is the message that I got your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the automl.googleapis.com. We recommend that most server application use service accounts instead. For more information about service accounts and how to use them in your appllication, see https://cloud.google.com/docs/authentication/.

Please kindly let me know what I should do.

Thanks & Best Regards,


Attached Images
File Type: jpg ask console.jpg (201.3 KB, 81 views)
File Type: jpg ask GU.jpg (128.8 KB, 230 views)
Nov 7 '18 #1
0 3022

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

14 posts views Thread by Aaron Watters | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.