-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update gapic generator to allow individual location mixin gene…
…ration PiperOrigin-RevId: 638462084 Source-Link: googleapis/googleapis@e5d5636 Source-Link: googleapis/googleapis-gen@d02b2f9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy1pbnZlbnRvcnkvLk93bEJvdC55YW1sIiwiaCI6ImQwMmIyZjkyMzljM2UxZGU2NDdlZjM3ZmIxMGE1ZTQyNGFhMGI3YTUifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiZDAyYjJmOTIzOWMzZTFkZTY0N2VmMzdmYjEwYTVlNDI0YWEwYjdhNSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWxhbmd1YWdlLy5Pd2xCb3QueWFtbCIsImgiOiJkMDJiMmY5MjM5YzNlMWRlNjQ3ZWYzN2ZiMTBhNWU0MjRhYTBiN2E1In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWxpZmVzY2llbmNlcy8uT3dsQm90LnlhbWwiLCJoIjoiZDAyYjJmOTIzOWMzZTFkZTY0N2VmMzdmYjEwYTVlNDI0YWEwYjdhNSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW1hbmFnZWRpZGVudGl0aWVzLy5Pd2xCb3QueWFtbCIsImgiOiJkMDJiMmY5MjM5YzNlMWRlNjQ3ZWYzN2ZiMTBhNWU0MjRhYTBiN2E1In0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW1lZGlhdHJhbnNsYXRpb24vLk93bEJvdC55YW1sIiwiaCI6ImQwMmIyZjkyMzljM2UxZGU2NDdlZjM3ZmIxMGE1ZTQyNGFhMGI3YTUifQ== Copy-Tag: eyJwIjoic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ed files
with
2,327,324 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: '@google-cloud/kms-inventory', | ||
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 |
22 changes: 22 additions & 0 deletions
22
owl-bot-staging/google-cloud-kms-inventory/v1/.prettierrc.js
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 @@ | ||
Inventory: Nodejs Client |
59 changes: 59 additions & 0 deletions
59
owl-bot-staging/google-cloud-kms-inventory/v1/package.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,59 @@ | ||
{ | ||
"name": "@google-cloud/kms-inventory", | ||
"version": "0.1.0", | ||
"description": "Inventory client for Node.js", | ||
"repository": "googleapis/nodejs-inventory", | ||
"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 inventory", | ||
"inventory", | ||
"key dashboard service", | ||
"key tracking service" | ||
], | ||
"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.4" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.12.12", | ||
"@types/sinon": "^10.0.20", | ||
"c8": "^9.1.0", | ||
"gapic-tools": "^0.4.2", | ||
"gts": "5.3.0", | ||
"jsdoc": "^4.0.3", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
"mocha": "^10.4.0", | ||
"pack-n-play": "^2.0.3", | ||
"sinon": "^15.2.0", | ||
"typescript": "5.1.6" | ||
}, | ||
"engines": { | ||
"node": ">=v14" | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...e-cloud-kms-inventory/v1/protos/google/cloud/kms/inventory/v1/key_dashboard_service.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,81 @@ | ||
// 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 | ||
// | ||
// 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.cloud.kms.inventory.v1; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/api/client.proto"; | ||
import "google/api/field_behavior.proto"; | ||
import "google/api/resource.proto"; | ||
import "google/cloud/kms/v1/resources.proto"; | ||
|
||
option cc_enable_arenas = true; | ||
option csharp_namespace = "Google.Cloud.Kms.Inventory.V1"; | ||
option go_package = "cloud.google.com/go/kms/inventory/apiv1/inventorypb;inventorypb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "KeyDashboardServiceProto"; | ||
option java_package = "com.google.cloud.kms.inventory.v1"; | ||
option php_namespace = "Google\\Cloud\\Kms\\Inventory\\V1"; | ||
|
||
// Provides a cross-region view of all Cloud KMS keys in a given Cloud project. | ||
service KeyDashboardService { | ||
option (google.api.default_host) = "kmsinventory.googleapis.com"; | ||
option (google.api.oauth_scopes) = | ||
"https://www.googleapis.com/auth/cloud-platform"; | ||
|
||
// Returns cryptographic keys managed by Cloud KMS in a given Cloud project. | ||
// Note that this data is sourced from snapshots, meaning it may not | ||
// completely reflect the actual state of key metadata at call time. | ||
rpc ListCryptoKeys(ListCryptoKeysRequest) returns (ListCryptoKeysResponse) { | ||
option (google.api.http) = { | ||
get: "/v1/{parent=projects/*}/cryptoKeys" | ||
}; | ||
option (google.api.method_signature) = "parent"; | ||
} | ||
} | ||
|
||
// Request message for | ||
// [KeyDashboardService.ListCryptoKeys][google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys]. | ||
message ListCryptoKeysRequest { | ||
// Required. The Google Cloud project for which to retrieve key metadata, in | ||
// the format `projects/*` | ||
string parent = 1 [ | ||
(google.api.field_behavior) = REQUIRED, | ||
(google.api.resource_reference) = { | ||
type: "cloudresourcemanager.googleapis.com/Project" | ||
} | ||
]; | ||
|
||
// Optional. The maximum number of keys to return. The service may return | ||
// fewer than this value. If unspecified, at most 1000 keys will be returned. | ||
// The maximum value is 1000; values above 1000 will be coerced to 1000. | ||
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; | ||
|
||
// Optional. Pass this into a subsequent request in order to receive the next | ||
// page of results. | ||
string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; | ||
} | ||
|
||
// Response message for | ||
// [KeyDashboardService.ListCryptoKeys][google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys]. | ||
message ListCryptoKeysResponse { | ||
// The list of [CryptoKeys][google.cloud.kms.v1.CryptoKey]. | ||
repeated google.cloud.kms.v1.CryptoKey crypto_keys = 1; | ||
|
||
// The page token returned from the previous response if the next page is | ||
// desired. | ||
string next_page_token = 2; | ||
} |
Oops, something went wrong.