Class: Google::Apis::ComputeBeta::NetworkPeeringConnectionStatusConsensusState
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkPeeringConnectionStatusConsensusState
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
The status of update/delete for a consensus peering connection. Only set when connection_status.update_strategy isCONSENSUS or a network peering is proposing to update the strategy to CONSENSUS.
Instance Attribute Summary collapse
-
#delete_status ⇒ String
The status of the delete request.
-
#update_status ⇒ String
The status of the update request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkPeeringConnectionStatusConsensusState
constructor
A new instance of NetworkPeeringConnectionStatusConsensusState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkPeeringConnectionStatusConsensusState
Returns a new instance of NetworkPeeringConnectionStatusConsensusState.
37750 37751 37752 |
# File 'lib/google/apis/compute_beta/classes.rb', line 37750 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delete_status ⇒ String
The status of the delete request.
Corresponds to the JSON property deleteStatus
37743 37744 37745 |
# File 'lib/google/apis/compute_beta/classes.rb', line 37743 def delete_status @delete_status end |
#update_status ⇒ String
The status of the update request.
Corresponds to the JSON property updateStatus
37748 37749 37750 |
# File 'lib/google/apis/compute_beta/classes.rb', line 37748 def update_status @update_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37755 37756 37757 37758 |
# File 'lib/google/apis/compute_beta/classes.rb', line 37755 def update!(**args) @delete_status = args[:delete_status] if args.key?(:delete_status) @update_status = args[:update_status] if args.key?(:update_status) end |