REST source – the operations API

The v1beta1.projects.locations.operations API is listed in the table as follows: 

Method Endpoint Description
cancel POST /v1beta1/{name}:cancel  Starts asynchronous cancellation on a long-running operation
delete DELETE /v1beta1/{name}  Deletes a long-running operation
get GET /v1beta1/{name}  Gets the latest state of a long-running operation
list GET /v1beta1/{name}/operations  Lists operations that match the specified filter in the request
wait POST /v1beta1/{name}:wait  Waits for the specified long-running operation until it is done or reaches at most a specified timeout, returning the latest state

 

Note that the requests for the operations API are asynchronous and non-blocking for the calling applications. These are useful for calling applications in reporting the progress of model training and evaluations. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.79.121