Class: Google::Apis::BlockchainnodeengineV1::EthereumEndpoints
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::EthereumEndpoints
- 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
Contains endpoint information specific to Ethereum nodes.
Instance Attribute Summary collapse
-
#beacon_api_endpoint ⇒ String
Output only.
-
#beacon_prometheus_metrics_api_endpoint ⇒ String
Output only.
-
#execution_client_prometheus_metrics_api_endpoint ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EthereumEndpoints
constructor
A new instance of EthereumEndpoints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EthereumEndpoints
Returns a new instance of EthereumEndpoints.
260 261 262 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#beacon_api_endpoint ⇒ String
Output only. The assigned URL for the node's Beacon API endpoint.
Corresponds to the JSON property beaconApiEndpoint
245 246 247 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 245 def beacon_api_endpoint @beacon_api_endpoint end |
#beacon_prometheus_metrics_api_endpoint ⇒ String
Output only. The assigned URL for the node's Beacon Prometheus metrics
endpoint. See Prometheus Metrics for more details.
Corresponds to the JSON property beaconPrometheusMetricsApiEndpoint
252 253 254 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 252 def beacon_prometheus_metrics_api_endpoint @beacon_prometheus_metrics_api_endpoint end |
#execution_client_prometheus_metrics_api_endpoint ⇒ String
Output only. The assigned URL for the node's execution client's Prometheus
metrics endpoint.
Corresponds to the JSON property executionClientPrometheusMetricsApiEndpoint
258 259 260 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 258 def execution_client_prometheus_metrics_api_endpoint @execution_client_prometheus_metrics_api_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 269 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 265 def update!(**args) @beacon_api_endpoint = args[:beacon_api_endpoint] if args.key?(:beacon_api_endpoint) @beacon_prometheus_metrics_api_endpoint = args[:beacon_prometheus_metrics_api_endpoint] if args.key?(:beacon_prometheus_metrics_api_endpoint) @execution_client_prometheus_metrics_api_endpoint = args[:execution_client_prometheus_metrics_api_endpoint] if args.key?(:execution_client_prometheus_metrics_api_endpoint) end |