Skip to content

Commit b8ead88

Browse files
build(node): update client library version in samples metadata (#1356) (#380)
* build(node): add feat in node post-processor to add client library version number in snippet metadata Co-authored-by: Benjamin E. Coe <[email protected]> Source-Link: googleapis/synthtool@d337b88 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
1 parent ddc5e96 commit b8ead88

File tree

1 file changed

+56
-56
lines changed

1 file changed

+56
-56
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
{
2-
"clientLibrary": {
3-
"name": "nodejs-phishingprotection",
4-
"version": "0.1.0",
5-
"language": "TYPESCRIPT",
6-
"apis": [
7-
{
8-
"id": "google.cloud.phishingprotection.v1beta1",
9-
"version": "v1beta1"
10-
}
11-
]
12-
},
13-
"snippets": [
14-
{
15-
"regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_async",
16-
"title": "PhishingProtectionServiceV1Beta1 reportPhishing Sample",
17-
"origin": "API_DEFINITION",
18-
"description": " Reports a URI suspected of containing phishing content to be reviewed. Once the report review is complete, its result can be found in the Cloud Security Command Center findings dashboard for Phishing Protection. If the result verifies the existence of malicious phishing content, the site will be added the to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future.",
19-
"canonical": true,
20-
"file": "phishing_protection_service_v1_beta1.report_phishing.js",
21-
"language": "JAVASCRIPT",
22-
"segments": [
2+
"clientLibrary": {
3+
"name": "nodejs-phishingprotection",
4+
"version": "2.5.0",
5+
"language": "TYPESCRIPT",
6+
"apis": [
7+
{
8+
"id": "google.cloud.phishingprotection.v1beta1",
9+
"version": "v1beta1"
10+
}
11+
]
12+
},
13+
"snippets": [
2314
{
24-
"start": 25,
25-
"end": 56,
26-
"type": "FULL"
27-
}
28-
],
29-
"clientMethod": {
30-
"shortName": "ReportPhishing",
31-
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing",
32-
"async": true,
33-
"parameters": [
34-
{
35-
"name": "parent",
36-
"type": "TYPE_STRING"
37-
},
38-
{
39-
"name": "uri",
40-
"type": "TYPE_STRING"
41-
}
42-
],
43-
"resultType": ".google.cloud.phishingprotection.v1beta1.ReportPhishingResponse",
44-
"client": {
45-
"shortName": "PhishingProtectionServiceV1Beta1Client",
46-
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client"
47-
},
48-
"method": {
49-
"shortName": "ReportPhishing",
50-
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing",
51-
"service": {
52-
"shortName": "PhishingProtectionServiceV1Beta1",
53-
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1"
54-
}
15+
"regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_async",
16+
"title": "PhishingProtectionServiceV1Beta1 reportPhishing Sample",
17+
"origin": "API_DEFINITION",
18+
"description": " Reports a URI suspected of containing phishing content to be reviewed. Once the report review is complete, its result can be found in the Cloud Security Command Center findings dashboard for Phishing Protection. If the result verifies the existence of malicious phishing content, the site will be added the to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future.",
19+
"canonical": true,
20+
"file": "phishing_protection_service_v1_beta1.report_phishing.js",
21+
"language": "JAVASCRIPT",
22+
"segments": [
23+
{
24+
"start": 25,
25+
"end": 56,
26+
"type": "FULL"
27+
}
28+
],
29+
"clientMethod": {
30+
"shortName": "ReportPhishing",
31+
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing",
32+
"async": true,
33+
"parameters": [
34+
{
35+
"name": "parent",
36+
"type": "TYPE_STRING"
37+
},
38+
{
39+
"name": "uri",
40+
"type": "TYPE_STRING"
41+
}
42+
],
43+
"resultType": ".google.cloud.phishingprotection.v1beta1.ReportPhishingResponse",
44+
"client": {
45+
"shortName": "PhishingProtectionServiceV1Beta1Client",
46+
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client"
47+
},
48+
"method": {
49+
"shortName": "ReportPhishing",
50+
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing",
51+
"service": {
52+
"shortName": "PhishingProtectionServiceV1Beta1",
53+
"fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1"
54+
}
55+
}
56+
}
5557
}
56-
}
57-
}
58-
]
59-
}
58+
]
59+
}

0 commit comments

Comments
 (0)