Class: Google::Apis::BlockchainnodeengineV1::ConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::ConnectionInfo
- 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
-
#endpoint_info ⇒ Google::Apis::BlockchainnodeengineV1::EndpointInfo
Contains endpoint information through which to interact with a blockchain node.
-
#service_attachment ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionInfo
constructor
A new instance of ConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionInfo
Returns a new instance of ConnectionInfo.
129 130 131 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_info ⇒ Google::Apis::BlockchainnodeengineV1::EndpointInfo
Contains endpoint information through which to interact with a blockchain node.
Corresponds to the JSON property endpointInfo
120 121 122 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 120 def endpoint_info @endpoint_info end |
#service_attachment ⇒ String
Output only. A service attachment that exposes a node, and has the following
format: projects/project
/regions/region
/serviceAttachments/
service_attachment_name
Corresponds to the JSON property serviceAttachment
127 128 129 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 127 def @service_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
134 135 136 137 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 134 def update!(**args) @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info) @service_attachment = args[:service_attachment] if args.key?(:service_attachment) end |