From 58c2f2716e57da451119e6938ea29194856067db Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 27 Nov 2023 01:32:44 +0000 Subject: [PATCH] feat(blockchainnodeengine): update the API #### blockchainnodeengine:v1 The following keys were added: - schemas.BlockchainNode.properties.privateServiceConnectEnabled.description - schemas.BlockchainNode.properties.privateServiceConnectEnabled.type The following keys were changed: - schemas.EthereumDetails.properties.network.enum - schemas.EthereumDetails.properties.network.enumDescriptions --- discovery/blockchainnodeengine-v1.json | 12 +++++++++--- src/apis/blockchainnodeengine/v1.ts | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/discovery/blockchainnodeengine-v1.json b/discovery/blockchainnodeengine-v1.json index 230406e5283..a6c2e149eda 100644 --- a/discovery/blockchainnodeengine-v1.json +++ b/discovery/blockchainnodeengine-v1.json @@ -487,7 +487,7 @@ } } }, - "revision": "20231011", + "revision": "20231108", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "schemas": { "BlockchainNode": { @@ -533,6 +533,10 @@ "readOnly": true, "type": "string" }, + "privateServiceConnectEnabled": { + "description": "Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. See https://cloud.google.com/vpc/docs/private-service-connect.", + "type": "boolean" + }, "state": { "description": "Output only. A status representing the state of the node.", "enum": [ @@ -671,13 +675,15 @@ "NETWORK_UNSPECIFIED", "MAINNET", "TESTNET_GOERLI_PRATER", - "TESTNET_SEPOLIA" + "TESTNET_SEPOLIA", + "TESTNET_HOLESKY" ], "enumDescriptions": [ "The network has not been specified, but should be.", "The Ethereum Mainnet.", "The Ethereum Testnet based on Goerli protocol.", - "The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia." + "The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia.", + "The Ethereum Testnet based on Holesky specification. See https://github.com/eth-clients/holesky." ], "type": "string" }, diff --git a/src/apis/blockchainnodeengine/v1.ts b/src/apis/blockchainnodeengine/v1.ts index bb1cd4a0f37..0d3404bb36d 100644 --- a/src/apis/blockchainnodeengine/v1.ts +++ b/src/apis/blockchainnodeengine/v1.ts @@ -152,6 +152,10 @@ export namespace blockchainnodeengine_v1 { * Output only. The fully qualified name of the blockchain node. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`. */ name?: string | null; + /** + * Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. See https://cloud.google.com/vpc/docs/private-service-connect. + */ + privateServiceConnectEnabled?: boolean | null; /** * Output only. A status representing the state of the node. */