Class: Google::Apis::BlockchainnodeengineV1::EthereumEndpoints

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_endpointString

Output only. The assigned URL for the node's Beacon API endpoint. Corresponds to the JSON property beaconApiEndpoint

Returns:

  • (String)


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_endpointString

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

Returns:

  • (String)


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_endpointString

Output only. The assigned URL for the node's execution client's Prometheus metrics endpoint. Corresponds to the JSON property executionClientPrometheusMetricsApiEndpoint

Returns:

  • (String)


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