Class: Google::Apis::BlockchainnodeengineV1::ConnectionInfo

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

The connection information through which to interact with a blockchain node.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionInfo

Returns a new instance of ConnectionInfo.



109
110
111
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 109

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endpoint_infoGoogle::Apis::BlockchainnodeengineV1::EndpointInfo

Contains endpoint information through which to interact with a blockchain node. Corresponds to the JSON property endpointInfo



107
108
109
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 107

def endpoint_info
  @endpoint_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



114
115
116
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 114

def update!(**args)
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
end