Class: Google::Apis::ComputeBeta::VpnGatewayStatusHighAvailabilityRequirementState
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnGatewayStatusHighAvailabilityRequirementState
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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
-
#state ⇒ String
Indicates the high availability requirement state for the VPN connection.
-
#unsatisfied_reason ⇒ String
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewayStatusHighAvailabilityRequirementState
constructor
A new instance of VpnGatewayStatusHighAvailabilityRequirementState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ VpnGatewayStatusHighAvailabilityRequirementState
Returns a new instance of VpnGatewayStatusHighAvailabilityRequirementState
27644 27645 27646 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
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
27635 27636 27637 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27635 def state @state end |
#unsatisfied_reason ⇒ String
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
27642 27643 27644 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27642 def unsatisfied_reason @unsatisfied_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27649 27650 27651 27652 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27649 def update!(**args) @state = args[:state] if args.key?(:state) @unsatisfied_reason = args[:unsatisfied_reason] if args.key?(:unsatisfied_reason) end |