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.
232 233 234 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 232 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
217 218 219 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 217 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
224 225 226 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 224 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
230 231 232 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 230 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
237 238 239 240 241 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 237 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 |