Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 30220b4

Browse files
fix: GoogleAdsError missing using generator version after 1.3.0
[PR](googleapis/gapic-generator-typescript#878) within updated gapic-generator-typescript version 1.4.0 Committer: @summer-ji-eng PiperOrigin-RevId: 375759421 Source-Link: googleapis/googleapis@95fa72f Source-Link: https://github.com/googleapis/googleapis-gen/commit/f40a34377ad488a7c2bc3992b3c8d5faf5a15c46
1 parent b5e197a commit 30220b4

114 files changed

Lines changed: 34136 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

owl-bot-staging/v1/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Vision: Nodejs Client
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recurse": true,
3+
"skip": [
4+
"https://codecov.io/gh/googleapis/",
5+
"www.googleapis.com",
6+
"img.shields.io"
7+
],
8+
"silent": true,
9+
"concurrency": 10
10+
}

owl-bot-staging/v1/package.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"name": "@google-cloud/vision",
3+
"version": "0.1.0",
4+
"description": "Vision client for Node.js",
5+
"repository": "googleapis/nodejs-vision",
6+
"license": "Apache-2.0",
7+
"author": "Google LLC",
8+
"main": "build/src/index.js",
9+
"files": [
10+
"build/src",
11+
"build/protos"
12+
],
13+
"keywords": [
14+
"google apis client",
15+
"google api client",
16+
"google apis",
17+
"google api",
18+
"google",
19+
"google cloud platform",
20+
"google cloud",
21+
"cloud",
22+
"google vision",
23+
"vision",
24+
"image annotator",
25+
"product search"
26+
],
27+
"scripts": {
28+
"clean": "gts clean",
29+
"compile": "tsc -p . && cp -r protos build/",
30+
"compile-protos": "compileProtos src",
31+
"docs": "jsdoc -c .jsdoc.js",
32+
"predocs-test": "npm run docs",
33+
"docs-test": "linkinator docs",
34+
"fix": "gts fix",
35+
"lint": "gts check",
36+
"prepare": "npm run compile-protos && npm run compile",
37+
"system-test": "c8 mocha build/system-test",
38+
"test": "c8 mocha build/test"
39+
},
40+
"dependencies": {
41+
"google-gax": "^2.14.0"
42+
},
43+
"devDependencies": {
44+
"@types/mocha": "^8.2.2",
45+
"@types/node": "^14.17.1",
46+
"@types/sinon": "^10.0.0",
47+
"c8": "^7.7.2",
48+
"gts": "^3.1.0",
49+
"jsdoc": "^3.6.7",
50+
"jsdoc-fresh": "^1.0.2",
51+
"jsdoc-region-tag": "^1.0.6",
52+
"linkinator": "^2.13.6",
53+
"mocha": "^8.4.0",
54+
"null-loader": "^4.0.1",
55+
"pack-n-play": "^1.0.0-2",
56+
"sinon": "^10.0.0",
57+
"ts-loader": "^9.2.2",
58+
"typescript": "^4.2.4",
59+
"webpack": "^5.37.1",
60+
"webpack-cli": "^4.7.0"
61+
},
62+
"engines": {
63+
"node": ">=v10.24.0"
64+
}
65+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// Copyright 2020 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.vision.v1;
18+
19+
import "google/api/annotations.proto";
20+
21+
option cc_enable_arenas = true;
22+
option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1;vision";
23+
option java_multiple_files = true;
24+
option java_outer_classname = "GeometryProto";
25+
option java_package = "com.google.cloud.vision.v1";
26+
option objc_class_prefix = "GCVN";
27+
28+
// A vertex represents a 2D point in the image.
29+
// NOTE: the vertex coordinates are in the same scale as the original image.
30+
message Vertex {
31+
// X coordinate.
32+
int32 x = 1;
33+
34+
// Y coordinate.
35+
int32 y = 2;
36+
}
37+
38+
// A vertex represents a 2D point in the image.
39+
// NOTE: the normalized vertex coordinates are relative to the original image
40+
// and range from 0 to 1.
41+
message NormalizedVertex {
42+
// X coordinate.
43+
float x = 1;
44+
45+
// Y coordinate.
46+
float y = 2;
47+
}
48+
49+
// A bounding polygon for the detected image annotation.
50+
message BoundingPoly {
51+
// The bounding polygon vertices.
52+
repeated Vertex vertices = 1;
53+
54+
// The bounding polygon normalized vertices.
55+
repeated NormalizedVertex normalized_vertices = 2;
56+
}
57+
58+
// A 3D position in the image, used primarily for Face detection landmarks.
59+
// A valid Position must have both x and y coordinates.
60+
// The position coordinates are in the same scale as the original image.
61+
message Position {
62+
// X coordinate.
63+
float x = 1;
64+
65+
// Y coordinate.
66+
float y = 2;
67+
68+
// Z coordinate (or depth).
69+
float z = 3;
70+
}

0 commit comments

Comments
 (0)