Class: Google::Apis::ComputeAlpha::VpnGatewayStatusHighAvailabilityRequirementState

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnGatewayStatusHighAvailabilityRequirementState

Returns a new instance of VpnGatewayStatusHighAvailabilityRequirementState.



47190
47191
47192
# File 'lib/google/apis/compute_alpha/classes.rb', line 47190

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

Instance Attribute Details

#stateString

Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Corresponds to the JSON property state

Returns:

  • (String)


47181
47182
47183
# File 'lib/google/apis/compute_alpha/classes.rb', line 47181

def state
  @state
end

#unsatisfied_reasonString

Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Corresponds to the JSON property unsatisfiedReason

Returns:

  • (String)


47188
47189
47190
# File 'lib/google/apis/compute_alpha/classes.rb', line 47188

def unsatisfied_reason
  @unsatisfied_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47195
47196
47197
47198
# File 'lib/google/apis/compute_alpha/classes.rb', line 47195

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