Class: Google::Apis::BlockchainnodeengineV1::EthereumDetails
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::EthereumDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blockchainnodeengine_v1/classes.rb,
lib/google/apis/blockchainnodeengine_v1/representations.rb,
lib/google/apis/blockchainnodeengine_v1/representations.rb
Overview
Ethereum-specific blockchain node details.
Instance Attribute Summary collapse
-
#additional_endpoints ⇒ Google::Apis::BlockchainnodeengineV1::EthereumEndpoints
Contains endpoint information specific to Ethereum nodes.
-
#api_enable_admin ⇒ Boolean
(also: #api_enable_admin?)
Immutable.
-
#api_enable_debug ⇒ Boolean
(also: #api_enable_debug?)
Immutable.
-
#consensus_client ⇒ String
Immutable.
-
#execution_client ⇒ String
Immutable.
-
#geth_details ⇒ Google::Apis::BlockchainnodeengineV1::GethDetails
Options for the Geth execution client.
-
#network ⇒ String
Immutable.
-
#node_type ⇒ String
Immutable.
-
#validator_config ⇒ Google::Apis::BlockchainnodeengineV1::ValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EthereumDetails
constructor
A new instance of EthereumDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EthereumDetails
Returns a new instance of EthereumDetails.
220 221 222 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_endpoints ⇒ Google::Apis::BlockchainnodeengineV1::EthereumEndpoints
Contains endpoint information specific to Ethereum nodes.
Corresponds to the JSON property additionalEndpoints
172 173 174 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 172 def additional_endpoints @additional_endpoints end |
#api_enable_admin ⇒ Boolean Also known as: api_enable_admin?
Immutable. Enables JSON-RPC access to functions in the admin
namespace.
Defaults to false
.
Corresponds to the JSON property apiEnableAdmin
178 179 180 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 178 def api_enable_admin @api_enable_admin end |
#api_enable_debug ⇒ Boolean Also known as: api_enable_debug?
Immutable. Enables JSON-RPC access to functions in the debug
namespace.
Defaults to false
.
Corresponds to the JSON property apiEnableDebug
185 186 187 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 185 def api_enable_debug @api_enable_debug end |
#consensus_client ⇒ String
Immutable. The consensus client.
Corresponds to the JSON property consensusClient
191 192 193 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 191 def consensus_client @consensus_client end |
#execution_client ⇒ String
Immutable. The execution client
Corresponds to the JSON property executionClient
196 197 198 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 196 def execution_client @execution_client end |
#geth_details ⇒ Google::Apis::BlockchainnodeengineV1::GethDetails
Options for the Geth execution client. See Command-line Options for more details.
Corresponds to the JSON property gethDetails
202 203 204 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 202 def geth_details @geth_details end |
#network ⇒ String
Immutable. The Ethereum environment being accessed.
Corresponds to the JSON property network
207 208 209 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 207 def network @network end |
#node_type ⇒ String
Immutable. The type of Ethereum node.
Corresponds to the JSON property nodeType
212 213 214 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 212 def node_type @node_type end |
#validator_config ⇒ Google::Apis::BlockchainnodeengineV1::ValidatorConfig
Configuration for validator-related parameters on the beacon client, and for
any GCP-managed validator client.
Corresponds to the JSON property validatorConfig
218 219 220 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 218 def validator_config @validator_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 228 229 230 231 232 233 234 235 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 225 def update!(**args) @additional_endpoints = args[:additional_endpoints] if args.key?(:additional_endpoints) @api_enable_admin = args[:api_enable_admin] if args.key?(:api_enable_admin) @api_enable_debug = args[:api_enable_debug] if args.key?(:api_enable_debug) @consensus_client = args[:consensus_client] if args.key?(:consensus_client) @execution_client = args[:execution_client] if args.key?(:execution_client) @geth_details = args[:geth_details] if args.key?(:geth_details) @network = args[:network] if args.key?(:network) @node_type = args[:node_type] if args.key?(:node_type) @validator_config = args[:validator_config] if args.key?(:validator_config) end |