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.
240 241 242 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 240 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
225 226 227 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 225 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
232 233 234 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 232 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
238 239 240 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 238 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
245 246 247 248 249 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 245 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 |