Class: Google::Apis::BlockchainnodeengineV1::BlockchainNode
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::BlockchainNode
- 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
A representation of a blockchain node.
Instance Attribute Summary collapse
-
#blockchain_type ⇒ String
Immutable.
-
#connection_info ⇒ Google::Apis::BlockchainnodeengineV1::ConnectionInfo
The connection information through which to interact with a blockchain node.
-
#create_time ⇒ String
Output only.
-
#ethereum_details ⇒ Google::Apis::BlockchainnodeengineV1::EthereumDetails
Ethereum-specific blockchain node details.
-
#labels ⇒ Hash<String,String>
User-provided key-value pairs.
-
#name ⇒ String
Output only.
-
#private_service_connect_enabled ⇒ Boolean
(also: #private_service_connect_enabled?)
Optional.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BlockchainNode
constructor
A new instance of BlockchainNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BlockchainNode
Returns a new instance of BlockchainNode.
82 83 84 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 82 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blockchain_type ⇒ String
Immutable. The blockchain type of the node.
Corresponds to the JSON property blockchainType
32 33 34 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 32 def blockchain_type @blockchain_type end |
#connection_info ⇒ Google::Apis::BlockchainnodeengineV1::ConnectionInfo
The connection information through which to interact with a blockchain node.
Corresponds to the JSON property connectionInfo
37 38 39 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 37 def connection_info @connection_info end |
#create_time ⇒ String
Output only. The timestamp at which the blockchain node was first created.
Corresponds to the JSON property createTime
42 43 44 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 42 def create_time @create_time end |
#ethereum_details ⇒ Google::Apis::BlockchainnodeengineV1::EthereumDetails
Ethereum-specific blockchain node details.
Corresponds to the JSON property ethereumDetails
47 48 49 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 47 def ethereum_details @ethereum_details end |
#labels ⇒ Hash<String,String>
User-provided key-value pairs.
Corresponds to the JSON property labels
52 53 54 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 52 def labels @labels end |
#name ⇒ String
Output only. The fully qualified name of the blockchain node. e.g. projects/
my-project/locations/us-central1/blockchainNodes/my-node
.
Corresponds to the JSON property name
58 59 60 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 58 def name @name end |
#private_service_connect_enabled ⇒ Boolean Also known as: private_service_connect_enabled?
Optional. When true, the node is only accessible via Private Service Connect;
no public endpoints are exposed. Otherwise, the node is only accessible via
public endpoints. Warning: Private Service Connect enabled nodes may require a
manual migration effort to remain compatible with future versions of the
product. If this feature is enabled, you will be notified of these changes
along with any required action to avoid disruption. See https://cloud.google.
com/vpc/docs/private-service-connect.
Corresponds to the JSON property privateServiceConnectEnabled
69 70 71 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 69 def private_service_connect_enabled @private_service_connect_enabled end |
#state ⇒ String
Output only. A status representing the state of the node.
Corresponds to the JSON property state
75 76 77 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 75 def state @state end |
#update_time ⇒ String
Output only. The timestamp at which the blockchain node was last updated.
Corresponds to the JSON property updateTime
80 81 82 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 80 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 87 def update!(**args) @blockchain_type = args[:blockchain_type] if args.key?(:blockchain_type) @connection_info = args[:connection_info] if args.key?(:connection_info) @create_time = args[:create_time] if args.key?(:create_time) @ethereum_details = args[:ethereum_details] if args.key?(:ethereum_details) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @private_service_connect_enabled = args[:private_service_connect_enabled] if args.key?(:private_service_connect_enabled) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |