Class: Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#healthsArray<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_endpointGoogle::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