Class: Google::Apis::BlockchainnodeengineV1::ListBlockchainNodesResponse
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::ListBlockchainNodesResponse
- 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
Message for response to listing blockchain nodes.
Instance Attribute Summary collapse
-
#blockchain_nodes ⇒ Array<Google::Apis::BlockchainnodeengineV1::BlockchainNode>
The list of nodes Corresponds to the JSON property
blockchainNodes
. -
#next_page_token ⇒ String
A token identifying a page of results the server should return.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBlockchainNodesResponse
constructor
A new instance of ListBlockchainNodesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBlockchainNodesResponse
Returns a new instance of ListBlockchainNodesResponse.
327 328 329 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blockchain_nodes ⇒ Array<Google::Apis::BlockchainnodeengineV1::BlockchainNode>
The list of nodes
Corresponds to the JSON property blockchainNodes
315 316 317 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 315 def blockchain_nodes @blockchain_nodes end |
#next_page_token ⇒ String
A token identifying a page of results the server should return.
Corresponds to the JSON property nextPageToken
320 321 322 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 320 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
325 326 327 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 325 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
332 333 334 335 336 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 332 def update!(**args) @blockchain_nodes = args[:blockchain_nodes] if args.key?(:blockchain_nodes) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |