@google-cloud/web-risk
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -7,2 +7,15 @@ # Changelog | ||
## [1.3.0](https://www.github.com/googleapis/nodejs-web-risk/compare/v1.2.0...v1.3.0) (2019-10-09) | ||
### Bug Fixes | ||
* use compatible version of google-gax ([4bf2998](https://www.github.com/googleapis/nodejs-web-risk/commit/4bf2998)) | ||
### Features | ||
* .d.ts for protos ([#58](https://www.github.com/googleapis/nodejs-web-risk/issues/58)) ([891da5c](https://www.github.com/googleapis/nodejs-web-risk/commit/891da5c)) | ||
* add required field behaviors ([#67](https://www.github.com/googleapis/nodejs-web-risk/issues/67)) ([5242189](https://www.github.com/googleapis/nodejs-web-risk/commit/5242189)) | ||
## [1.2.0](https://www.github.com/googleapis/nodejs-web-risk/compare/v1.1.4...v1.2.0) (2019-09-16) | ||
@@ -9,0 +22,0 @@ |
{ | ||
"repository": "googleapis/nodejs-web-risk", | ||
"name": "@google-cloud/web-risk", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Google LLC", | ||
@@ -28,3 +28,3 @@ "description": "Web Risk API client for Node.js", | ||
"dependencies": { | ||
"google-gax": "^1.0.0" | ||
"google-gax": "^1.6.3" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -21,2 +21,6 @@ { | ||
"WebRiskServiceV1Beta1": { | ||
"options": { | ||
"(google.api.default_host)": "webrisk.googleapis.com", | ||
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" | ||
}, | ||
"methods": { | ||
@@ -27,3 +31,4 @@ "ComputeThreatListDiff": { | ||
"options": { | ||
"(google.api.http).get": "/v1beta1/threatLists:computeDiff" | ||
"(google.api.http).get": "/v1beta1/threatLists:computeDiff", | ||
"(google.api.method_signature)": "threat_type,version_token,constraints" | ||
} | ||
@@ -35,3 +40,4 @@ }, | ||
"options": { | ||
"(google.api.http).get": "/v1beta1/uris:search" | ||
"(google.api.http).get": "/v1beta1/uris:search", | ||
"(google.api.method_signature)": "uri,threat_types" | ||
} | ||
@@ -43,3 +49,4 @@ }, | ||
"options": { | ||
"(google.api.http).get": "/v1beta1/hashes:search" | ||
"(google.api.http).get": "/v1beta1/hashes:search", | ||
"(google.api.method_signature)": "hash_prefix,threat_types" | ||
} | ||
@@ -53,3 +60,6 @@ } | ||
"type": "ThreatType", | ||
"id": 1 | ||
"id": 1, | ||
"options": { | ||
"(google.api.field_behavior)": "REQUIRED" | ||
} | ||
}, | ||
@@ -62,3 +72,6 @@ "versionToken": { | ||
"type": "Constraints", | ||
"id": 3 | ||
"id": 3, | ||
"options": { | ||
"(google.api.field_behavior)": "REQUIRED" | ||
} | ||
} | ||
@@ -135,3 +148,6 @@ }, | ||
"type": "string", | ||
"id": 1 | ||
"id": 1, | ||
"options": { | ||
"(google.api.field_behavior)": "REQUIRED" | ||
} | ||
}, | ||
@@ -141,3 +157,6 @@ "threatTypes": { | ||
"type": "ThreatType", | ||
"id": 2 | ||
"id": 2, | ||
"options": { | ||
"(google.api.field_behavior)": "REQUIRED" | ||
} | ||
} | ||
@@ -178,3 +197,6 @@ } | ||
"type": "ThreatType", | ||
"id": 2 | ||
"id": 2, | ||
"options": { | ||
"(google.api.field_behavior)": "REQUIRED" | ||
} | ||
} | ||
@@ -306,3 +328,3 @@ } | ||
"java_multiple_files": true, | ||
"java_outer_classname": "HttpProto", | ||
"java_outer_classname": "FieldBehaviorProto", | ||
"java_package": "com.google.api", | ||
@@ -399,2 +421,34 @@ "objc_class_prefix": "GAPI", | ||
} | ||
}, | ||
"methodSignature": { | ||
"rule": "repeated", | ||
"type": "string", | ||
"id": 1051, | ||
"extend": "google.protobuf.MethodOptions" | ||
}, | ||
"defaultHost": { | ||
"type": "string", | ||
"id": 1049, | ||
"extend": "google.protobuf.ServiceOptions" | ||
}, | ||
"oauthScopes": { | ||
"type": "string", | ||
"id": 1050, | ||
"extend": "google.protobuf.ServiceOptions" | ||
}, | ||
"fieldBehavior": { | ||
"rule": "repeated", | ||
"type": "google.api.FieldBehavior", | ||
"id": 1052, | ||
"extend": "google.protobuf.FieldOptions" | ||
}, | ||
"FieldBehavior": { | ||
"values": { | ||
"FIELD_BEHAVIOR_UNSPECIFIED": 0, | ||
"OPTIONAL": 1, | ||
"REQUIRED": 2, | ||
"OUTPUT_ONLY": 3, | ||
"INPUT_ONLY": 4, | ||
"IMMUTABLE": 5 | ||
} | ||
} | ||
@@ -401,0 +455,0 @@ } |
@@ -22,3 +22,3 @@ // Copyright 2019 Google LLC | ||
* @property {number} threatType | ||
* Required. The ThreatList to update. | ||
* The ThreatList to update. | ||
* | ||
@@ -32,3 +32,3 @@ * The number should be among the values of [ThreatType]{@link google.cloud.webrisk.v1beta1.ThreatType} | ||
* @property {Object} constraints | ||
* The constraints associated with this request. | ||
* Required. The constraints associated with this request. | ||
* | ||
@@ -73,3 +73,3 @@ * This object should have the same structure as [Constraints]{@link google.cloud.webrisk.v1beta1.Constraints} | ||
* @property {number} responseType | ||
* The type of response. This may indicate that an action is required by the | ||
* The type of response. This may indicate that an action must be taken by the | ||
* client when the response is received. | ||
@@ -162,3 +162,3 @@ * | ||
* @property {string} uri | ||
* The URI to be checked for matches. | ||
* Required. The URI to be checked for matches. | ||
* | ||
@@ -165,0 +165,0 @@ * @property {number[]} threatTypes |
@@ -222,7 +222,7 @@ // Copyright 2019 Google LLC | ||
* @param {number} request.threatType | ||
* Required. The ThreatList to update. | ||
* The ThreatList to update. | ||
* | ||
* The number should be among the values of [ThreatType]{@link google.cloud.webrisk.v1beta1.ThreatType} | ||
* @param {Object} request.constraints | ||
* The constraints associated with this request. | ||
* Required. The constraints associated with this request. | ||
* | ||
@@ -288,3 +288,3 @@ * This object should have the same structure as [Constraints]{@link google.cloud.webrisk.v1beta1.Constraints} | ||
* @param {string} request.uri | ||
* The URI to be checked for matches. | ||
* Required. The URI to be checked for matches. | ||
* @param {number[]} request.threatTypes | ||
@@ -291,0 +291,0 @@ * Required. The ThreatLists to search in. |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1160127
16
19548
1
Updatedgoogle-gax@^1.6.3