Class: Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#healths ⇒ Array<Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint>
[Output only] The health status of network endpoint; Corresponds to the JSON property
healths
. -
#network_endpoint ⇒ Google::Apis::ComputeBeta::NetworkEndpoint
The network endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkEndpointWithHealthStatus
constructor
A new instance of NetworkEndpointWithHealthStatus.
-
#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) ⇒ NetworkEndpointWithHealthStatus
Returns a new instance of NetworkEndpointWithHealthStatus
14712 14713 14714 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#healths ⇒ Array<Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint>
[Output only] The health status of network endpoint;
Corresponds to the JSON property healths
14705 14706 14707 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14705 def healths @healths end |
#network_endpoint ⇒ Google::Apis::ComputeBeta::NetworkEndpoint
The network endpoint.
Corresponds to the JSON property networkEndpoint
14710 14711 14712 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14710 def network_endpoint @network_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14717 14718 14719 14720 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14717 def update!(**args) @healths = args[:healths] if args.key?(:healths) @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) end |