Class: Google::Apis::BlockchainnodeengineV1::ListBlockchainNodesResponse

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

Message for response to listing blockchain nodes.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nodesArray<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_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


320
321
322
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 320

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


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