I'm using java script to create/delate/restart instances in google cloud compute engine, create and delete works fine but with reset I have some issues.
function resetInstances() {
var request = gapi.client.compute.instances.reset({
'project': 'project-name',
'name': 'instaces-name',
'zone': 'europe-west1-a'
});
executeRequest(request, 'resetInstances');
}
API_VERSION = 'v1beta16', I have the same issues with v1. scopes = 'https://www.googleapis.com/auth/compute';
When I execute gapi.client.compute.instances.reset method I get "undefined" nothing more ;/ Could you provide me with some information to help me resolve this issues.