Class: Google::Apis::ComputeV1::HealthCheckServiceReference

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HealthCheckServiceReference

Returns a new instance of HealthCheckServiceReference.



12324
12325
12326
# File 'lib/google/apis/compute_v1/classes.rb', line 12324

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#health_check_serviceString

Corresponds to the JSON property healthCheckService

Returns:

  • (String)


12322
12323
12324
# File 'lib/google/apis/compute_v1/classes.rb', line 12322

def health_check_service
  @health_check_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12329
12330
12331
# File 'lib/google/apis/compute_v1/classes.rb', line 12329

def update!(**args)
  @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
end