Class: Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus
- 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
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.
Constructor Details
#initialize(**args) ⇒ NetworkEndpointWithHealthStatus
Returns a new instance of NetworkEndpointWithHealthStatus.
27042 27043 27044 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27042 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
27035 27036 27037 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27035 def healths @healths end |
#network_endpoint ⇒ Google::Apis::ComputeBeta::NetworkEndpoint
The network endpoint.
Corresponds to the JSON property networkEndpoint
27040 27041 27042 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27040 def network_endpoint @network_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27047 27048 27049 27050 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27047 def update!(**args) @healths = args[:healths] if args.key?(:healths) @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) end |