Class: Google::Apis::ComputeBeta::VpnGatewayStatusHighAvailabilityRequirementState
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnGatewayStatusHighAvailabilityRequirementState
- 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
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.
Constructor Details
#initialize(**args) ⇒ VpnGatewayStatusHighAvailabilityRequirementState
Returns a new instance of VpnGatewayStatusHighAvailabilityRequirementState.
39186 39187 39188 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39186 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
39177 39178 39179 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39177 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
39184 39185 39186 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39184 def unsatisfied_reason @unsatisfied_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39191 39192 39193 39194 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39191 def update!(**args) @state = args[:state] if args.key?(:state) @unsatisfied_reason = args[:unsatisfied_reason] if args.key?(:unsatisfied_reason) end |