@google-cloud/scheduler
Advanced tools
Comparing version 2.2.6 to 2.3.0
@@ -101,2 +101,6 @@ "use strict"; | ||
this.auth = this._gaxGrpc.auth; | ||
// Set useJWTAccessWithScope on the auth object. | ||
this.auth.useJWTAccessWithScope = true; | ||
// Set defaultServicePath on the auth object. | ||
this.auth.defaultServicePath = staticMembers.servicePath; | ||
// Set the default scopes in auth client if needed. | ||
@@ -103,0 +107,0 @@ if (servicePath === staticMembers.servicePath) { |
@@ -101,2 +101,6 @@ "use strict"; | ||
this.auth = this._gaxGrpc.auth; | ||
// Set useJWTAccessWithScope on the auth object. | ||
this.auth.useJWTAccessWithScope = true; | ||
// Set defaultServicePath on the auth object. | ||
this.auth.defaultServicePath = staticMembers.servicePath; | ||
// Set the default scopes in auth client if needed. | ||
@@ -103,0 +107,0 @@ if (servicePath === staticMembers.servicePath) { |
@@ -7,2 +7,14 @@ # Changelog | ||
## [2.3.0](https://www.github.com/googleapis/nodejs-scheduler/compare/v2.2.6...v2.3.0) (2021-09-10) | ||
### Features | ||
* turns on self-signed JWT feature flag ([#399](https://www.github.com/googleapis/nodejs-scheduler/issues/399)) ([bdeff1d](https://www.github.com/googleapis/nodejs-scheduler/commit/bdeff1dc5115dc2a3687980127d8c256c5a910ff)) | ||
### Bug Fixes | ||
* **build:** set default branch to main ([#403](https://www.github.com/googleapis/nodejs-scheduler/issues/403)) ([cb1d8d2](https://www.github.com/googleapis/nodejs-scheduler/commit/cb1d8d2c023d80fefece432537ea7c09fb50638f)) | ||
### [2.2.6](https://www.github.com/googleapis/nodejs-scheduler/compare/v2.2.5...v2.2.6) (2021-08-17) | ||
@@ -9,0 +21,0 @@ |
{ | ||
"name": "@google-cloud/scheduler", | ||
"description": "Cloud Scheduler API client for Node.js", | ||
"version": "2.2.6", | ||
"version": "2.3.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google LLC", |
@@ -9,3 +9,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
[![npm version](https://img.shields.io/npm/v/@google-cloud/scheduler.svg)](https://www.npmjs.org/package/@google-cloud/scheduler) | ||
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-scheduler/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-scheduler) | ||
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-scheduler/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-scheduler) | ||
@@ -19,3 +19,3 @@ | ||
A comprehensive list of changes in each version may be found in | ||
[the CHANGELOG](https://github.com/googleapis/nodejs-scheduler/blob/master/CHANGELOG.md). | ||
[the CHANGELOG](https://github.com/googleapis/nodejs-scheduler/blob/main/CHANGELOG.md). | ||
@@ -100,11 +100,11 @@ * [Google Cloud Scheduler Node.js Client API Reference][client-docs] | ||
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-scheduler/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample. | ||
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-scheduler/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. | ||
| Sample | Source Code | Try it | | ||
| --------------------------- | --------------------------------- | ------ | | ||
| App | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/app.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/app.js,samples/README.md) | | ||
| Create Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/createJob.js,samples/README.md) | | ||
| Delete Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) | | ||
| Quickstart | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | | ||
| Update Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/updateJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md) | | ||
| App | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/app.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/app.js,samples/README.md) | | ||
| Create Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/createJob.js,samples/README.md) | | ||
| Delete Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) | | ||
| Quickstart | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | | ||
| Update Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/updateJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md) | | ||
@@ -158,3 +158,3 @@ | ||
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-scheduler/blob/master/CONTRIBUTING.md). | ||
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-scheduler/blob/main/CONTRIBUTING.md). | ||
@@ -164,4 +164,4 @@ Please note that this `README.md`, the `samples/README.md`, | ||
are generated from a central template. To edit one of these files, make an edit | ||
to its template in this | ||
[directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library). | ||
to its templates in | ||
[directory](https://github.com/googleapis/synthtool). | ||
@@ -172,3 +172,3 @@ ## License | ||
See [LICENSE](https://github.com/googleapis/nodejs-scheduler/blob/master/LICENSE) | ||
See [LICENSE](https://github.com/googleapis/nodejs-scheduler/blob/main/LICENSE) | ||
@@ -175,0 +175,0 @@ [client-docs]: https://cloud.google.com/nodejs/docs/reference/scheduler/latest |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1960794
31422