-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Fix designation of Text Search
docs: Update field mask guidance PiperOrigin-RevId: 622956031 Source-Link: googleapis/googleapis@5db2bbe Source-Link: googleapis/googleapis-gen@d6536e4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiJkNjUzNmU0MDEyM2JhZmNiNjRiOGM3ZTkyYjI4ZDk2YWU3YzA3OWEzIn0=
- Loading branch information
1 parent
8d7bf40
commit 7dbabfa
Showing
38 changed files
with
55,197 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**/node_modules | ||
**/.coverage | ||
build/ | ||
docs/ | ||
protos/ | ||
system-test/ | ||
samples/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**/*.log | ||
**/node_modules | ||
/.coverage | ||
/coverage | ||
/.nyc_output | ||
/docs/ | ||
/out/ | ||
/build/ | ||
system-test/secrets.js | ||
system-test/*key.json | ||
*.lock | ||
.DS_Store | ||
package-lock.json | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
'use strict'; | ||
|
||
module.exports = { | ||
opts: { | ||
readme: './README.md', | ||
package: './package.json', | ||
template: './node_modules/jsdoc-fresh', | ||
recurse: true, | ||
verbose: true, | ||
destination: './docs/' | ||
}, | ||
plugins: [ | ||
'plugins/markdown', | ||
'jsdoc-region-tag' | ||
], | ||
source: { | ||
excludePattern: '(^|\\/|\\\\)[._]', | ||
include: [ | ||
'build/src', | ||
'protos' | ||
], | ||
includePattern: '\\.js$' | ||
}, | ||
templates: { | ||
copyright: 'Copyright 2024 Google LLC', | ||
includeDate: false, | ||
sourceFiles: false, | ||
systemName: '@googlemaps/places', | ||
theme: 'lumen', | ||
default: { | ||
outputSourceFiles: false | ||
} | ||
}, | ||
markdown: { | ||
idInHeadings: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
const config = { | ||
"enable-source-maps": true, | ||
"throw-deprecation": true, | ||
"timeout": 10000 | ||
} | ||
if (process.env.MOCHA_THROW_DEPRECATION === 'false') { | ||
delete config['throw-deprecation']; | ||
} | ||
if (process.env.MOCHA_REPORTER) { | ||
config.reporter = process.env.MOCHA_REPORTER; | ||
} | ||
if (process.env.MOCHA_REPORTER_OUTPUT) { | ||
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`; | ||
} | ||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
|
||
module.exports = { | ||
...require('gts/.prettierrc.json') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Places: Nodejs Client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"name": "@googlemaps/places", | ||
"version": "0.1.0", | ||
"description": "Places client for Node.js", | ||
"repository": "googleapis/nodejs-places", | ||
"license": "Apache-2.0", | ||
"author": "Google LLC", | ||
"main": "build/src/index.js", | ||
"files": [ | ||
"build/src", | ||
"build/protos" | ||
], | ||
"keywords": [ | ||
"google apis client", | ||
"google api client", | ||
"google apis", | ||
"google api", | ||
"google", | ||
"google cloud platform", | ||
"google cloud", | ||
"cloud", | ||
"google places", | ||
"places", | ||
"places" | ||
], | ||
"scripts": { | ||
"clean": "gts clean", | ||
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", | ||
"compile-protos": "compileProtos src", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"fix": "gts fix", | ||
"lint": "gts check", | ||
"prepare": "npm run compile-protos && npm run compile", | ||
"system-test": "c8 mocha build/system-test", | ||
"test": "c8 mocha build/test" | ||
}, | ||
"dependencies": { | ||
"google-gax": "^4.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.26", | ||
"@types/sinon": "^10.0.20", | ||
"c8": "^8.0.1", | ||
"gapic-tools": "^0.4.0", | ||
"gts": "5.2.0", | ||
"jsdoc": "^4.0.2", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
"mocha": "^10.3.0", | ||
"pack-n-play": "^2.0.3", | ||
"sinon": "^15.2.0", | ||
"typescript": "5.1.6" | ||
}, | ||
"engines": { | ||
"node": ">=v14" | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
owl-bot-staging/google-maps-places/v1/protos/google/geo/type/viewport.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Copyright 2019 Google LLC. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
syntax = "proto3"; | ||
|
||
package google.geo.type; | ||
|
||
import "google/type/latlng.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/geo/type/viewport;viewport"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "ViewportProto"; | ||
option java_package = "com.google.geo.type"; | ||
option objc_class_prefix = "GGTP"; | ||
|
||
// A latitude-longitude viewport, represented as two diagonally opposite `low` | ||
// and `high` points. A viewport is considered a closed region, i.e. it includes | ||
// its boundary. The latitude bounds must range between -90 to 90 degrees | ||
// inclusive, and the longitude bounds must range between -180 to 180 degrees | ||
// inclusive. Various cases include: | ||
// | ||
// - If `low` = `high`, the viewport consists of that single point. | ||
// | ||
// - If `low.longitude` > `high.longitude`, the longitude range is inverted | ||
// (the viewport crosses the 180 degree longitude line). | ||
// | ||
// - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, | ||
// the viewport includes all longitudes. | ||
// | ||
// - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, | ||
// the longitude range is empty. | ||
// | ||
// - If `low.latitude` > `high.latitude`, the latitude range is empty. | ||
// | ||
// Both `low` and `high` must be populated, and the represented box cannot be | ||
// empty (as specified by the definitions above). An empty viewport will result | ||
// in an error. | ||
// | ||
// For example, this viewport fully encloses New York City: | ||
// | ||
// { | ||
// "low": { | ||
// "latitude": 40.477398, | ||
// "longitude": -74.259087 | ||
// }, | ||
// "high": { | ||
// "latitude": 40.91618, | ||
// "longitude": -73.70018 | ||
// } | ||
// } | ||
message Viewport { | ||
// Required. The low point of the viewport. | ||
google.type.LatLng low = 1; | ||
|
||
// Required. The high point of the viewport. | ||
google.type.LatLng high = 2; | ||
} |
44 changes: 44 additions & 0 deletions
44
owl-bot-staging/google-maps-places/v1/protos/google/maps/places/v1/attribution.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.maps.places.v1; | ||
|
||
option cc_enable_arenas = true; | ||
option csharp_namespace = "Google.Maps.Places.V1"; | ||
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AttributionProto"; | ||
option java_package = "com.google.maps.places.v1"; | ||
option objc_class_prefix = "GMPSV1"; | ||
option php_namespace = "Google\\Maps\\Places\\V1"; | ||
|
||
// Information about the author of the UGC data. Used in | ||
// [Photo][google.maps.places.v1.Photo], and | ||
// [Review][google.maps.places.v1.Review]. | ||
message AuthorAttribution { | ||
// Name of the author of the [Photo][google.maps.places.v1.Photo] or | ||
// [Review][google.maps.places.v1.Review]. | ||
string display_name = 1; | ||
|
||
// URI of the author of the [Photo][google.maps.places.v1.Photo] or | ||
// [Review][google.maps.places.v1.Review]. | ||
string uri = 2; | ||
|
||
// Profile photo URI of the author of the | ||
// [Photo][google.maps.places.v1.Photo] or | ||
// [Review][google.maps.places.v1.Review]. | ||
string photo_uri = 3; | ||
} |
Oops, something went wrong.