class Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint

Attributes

backend_service[RW]

URL of the backend service associated with the health state of the network endpoint. Corresponds to the JSON property `backendService` @return [Google::Apis::ComputeV1::BackendServiceReference]

forwarding_rule[RW]

URL of the forwarding rule associated with the health state of the network endpoint. Corresponds to the JSON property `forwardingRule` @return [Google::Apis::ComputeV1::ForwardingRuleReference]

health_check[RW]

A full or valid partial URL to a health check. For example, the following are valid URLs: - www.googleapis.com/compute/beta/projects/project-id/ global/httpHealthChecks/health-check - projects/project-id/global/ httpHealthChecks/health-check - global/httpHealthChecks/health-check Corresponds to the JSON property `healthCheck` @return [Google::Apis::ComputeV1::HealthCheckReference]

health_check_service[RW]

A full or valid partial URL to a health check service. For example, the following are valid URLs: - www.googleapis.com/compute/beta/projects/ project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service Corresponds to the JSON property `healthCheckService` @return [Google::Apis::ComputeV1::HealthCheckServiceReference]

health_state[RW]

Health state of the network endpoint determined based on the health checks configured. Corresponds to the JSON property `healthState` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 10861
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 10866
def update!(**args)
  @backend_service = args[:backend_service] if args.key?(:backend_service)
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
  @health_check = args[:health_check] if args.key?(:health_check)
  @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
  @health_state = args[:health_state] if args.key?(:health_state)
end