Class: Google::Apis::ComputeV1::NetworkPeeringConnectionStatusConsensusState

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkPeeringConnectionStatusConsensusState

Returns a new instance of NetworkPeeringConnectionStatusConsensusState.



33272
33273
33274
# File 'lib/google/apis/compute_v1/classes.rb', line 33272

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delete_statusString

The status of the delete request. Corresponds to the JSON property deleteStatus

Returns:

  • (String)


33265
33266
33267
# File 'lib/google/apis/compute_v1/classes.rb', line 33265

def delete_status
  @delete_status
end

#update_statusString

The status of the update request. Corresponds to the JSON property updateStatus

Returns:

  • (String)


33270
33271
33272
# File 'lib/google/apis/compute_v1/classes.rb', line 33270

def update_status
  @update_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33277
33278
33279
33280
# File 'lib/google/apis/compute_v1/classes.rb', line 33277

def update!(**args)
  @delete_status = args[:delete_status] if args.key?(:delete_status)
  @update_status = args[:update_status] if args.key?(:update_status)
end