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.
261 262 263 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 261 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
246 247 248 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 246 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
253 254 255 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 253 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
259 260 261 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 259 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
266 267 268 269 270 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 266 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 |