Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/redis

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/redis - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

protos/protos.d.ts

14

CHANGELOG.md

@@ -7,2 +7,16 @@ # Changelog

## [1.3.0](https://www.github.com/googleapis/nodejs-redis/compare/v1.2.0...v1.3.0) (2019-10-09)
### Bug Fixes
* re-order create and update instance methods ([#217](https://www.github.com/googleapis/nodejs-redis/issues/217)) ([87bc51e](https://www.github.com/googleapis/nodejs-redis/commit/87bc51e))
* use compatible version of google-gax ([1ce0eab](https://www.github.com/googleapis/nodejs-redis/commit/1ce0eab))
### Features
* .d.ts for protos ([#208](https://www.github.com/googleapis/nodejs-redis/issues/208)) ([7305237](https://www.github.com/googleapis/nodejs-redis/commit/7305237))
* support new field options ([#210](https://www.github.com/googleapis/nodejs-redis/issues/210)) ([b81babd](https://www.github.com/googleapis/nodejs-redis/commit/b81babd))
## [1.2.0](https://www.github.com/googleapis/nodejs-redis/compare/v1.1.4...v1.2.0) (2019-09-16)

@@ -9,0 +23,0 @@

4

package.json
{
"name": "@google-cloud/redis",
"description": "Google Cloud Memorystore for Redis API client for Node.js",
"version": "1.2.0",
"version": "1.3.0",
"license": "Apache-2.0",

@@ -40,3 +40,3 @@ "author": "Google LLC",

"dependencies": {
"google-gax": "^1.0.0",
"google-gax": "^1.6.3",
"protobufjs": "^6.8.8"

@@ -43,0 +43,0 @@ },

@@ -772,3 +772,3 @@ // Copyright 2019 Google LLC

* };
* const displayName = ' instance.memory_size_gb=4';
* const displayName = ' instance.memory_size_gb=4';
* const instance = {

@@ -805,3 +805,3 @@ * displayName: displayName,

* };
* const displayName = ' instance.memory_size_gb=4';
* const displayName = ' instance.memory_size_gb=4';
* const instance = {

@@ -847,3 +847,3 @@ * displayName: displayName,

* };
* const displayName = ' instance.memory_size_gb=4';
* const displayName = ' instance.memory_size_gb=4';
* const instance = {

@@ -919,6 +919,6 @@ * displayName: displayName,

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -944,6 +944,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -978,6 +978,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -1046,6 +1046,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1071,6 +1071,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1105,6 +1105,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1146,3 +1146,3 @@ * };

* where `location_id` refers to a GCP region.
* @param {number} request.dataProtectionMode
* @param {number} [request.dataProtectionMode]
* Optional. Available data protection modes that the user can choose. If it's

@@ -1172,10 +1172,5 @@ * unspecified, data protection mode will be LIMITED_DATA_LOSS by default.

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the promise pattern.
* client.failoverInstance(request)
* client.failoverInstance({name: formattedName})
* .then(responses => {

@@ -1197,10 +1192,5 @@ * const [operation, initialApiResponse] = responses;

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the event emitter pattern.
* client.failoverInstance(request)
* client.failoverInstance({name: formattedName})
* .then(responses => {

@@ -1231,10 +1221,5 @@ * const [operation, initialApiResponse] = responses;

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the await pattern.
* const [operation] = await client.failoverInstance(request);
* const [operation] = await client.failoverInstance({name: formattedName});
*

@@ -1241,0 +1226,0 @@ * const [response] = await operation.promise();

@@ -912,6 +912,6 @@ // Copyright 2019 Google LLC

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -937,6 +937,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -971,6 +971,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const inputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* inputConfig: inputConfig,

@@ -1039,6 +1039,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1064,6 +1064,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1098,6 +1098,6 @@ * };

*
* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const name = '';
* const outputConfig = {};
* const request = {
* name: formattedName,
* name: name,
* outputConfig: outputConfig,

@@ -1139,3 +1139,3 @@ * };

* where `location_id` refers to a GCP region.
* @param {number} request.dataProtectionMode
* @param {number} [request.dataProtectionMode]
* Optional. Available data protection modes that the user can choose. If it's

@@ -1165,10 +1165,5 @@ * unspecified, data protection mode will be LIMITED_DATA_LOSS by default.

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the promise pattern.
* client.failoverInstance(request)
* client.failoverInstance({name: formattedName})
* .then(responses => {

@@ -1190,10 +1185,5 @@ * const [operation, initialApiResponse] = responses;

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the event emitter pattern.
* client.failoverInstance(request)
* client.failoverInstance({name: formattedName})
* .then(responses => {

@@ -1224,10 +1214,5 @@ * const [operation, initialApiResponse] = responses;

* const formattedName = client.instancePath('[PROJECT]', '[LOCATION]', '[INSTANCE]');
* const dataProtectionMode = 'DATA_PROTECTION_MODE_UNSPECIFIED';
* const request = {
* name: formattedName,
* dataProtectionMode: dataProtectionMode,
* };
*
* // Handle the operation using the await pattern.
* const [operation] = await client.failoverInstance(request);
* const [operation] = await client.failoverInstance({name: formattedName});
*

@@ -1234,0 +1219,0 @@ * const [response] = await operation.promise();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc