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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

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