0
google-api-nodejs-clientを使用してGoogle Cloud機能を導入しようとしています。 API内googleapisはgoogle.cloudfunctions( 'v1beta2')に対して404を返します。operations.get()
その他のサービスが動作しているが、これは常に返し404:
var cloudfunctions = google.cloudfunctions('v1beta2');
cloudfunctions.operations.get({
// name: 'us-central1/my-function',
name: 'my-function,
auth: jwtClient
},
{url: 'https://cloudfunctions.googleapis.com/v1/projects/' + GPROJECT_NAME + '/locations/us-central1/functions'},
// {url: 'https://cloudfunctions.googleapis.com/v1beta2/'+ GPROJECT_NAME + '/locations/us-central1/functions' + name}, //operations'}
(err, data) => {
console.info('err:', err);
console.info('data:', data);
resolve();
})
私は様々な組み合わせを試してみたが、それらはすべて同じ結果になります
<p><b>404.</b> <ins>That’s an error.</ins>
<p>The requested URL <code>/v1/projects/my-project/locations/us-central1/functions</code> was not found on this server.
<ins>That’s all we know.</ins>
本当にグーグル?それはすべてあなたが知っている?