Class: Google::Apis::ComputeV1::CompositeHealthChecksGetHealthResponseHealthSourceHealth

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksGetHealthResponseHealthSourceHealth

Returns a new instance of CompositeHealthChecksGetHealthResponseHealthSourceHealth.



8778
8779
8780
# File 'lib/google/apis/compute_v1/classes.rb', line 8778

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

Instance Attribute Details

#health_stateString

Health state of the associated HealthSource resource. Corresponds to the JSON property healthState

Returns:

  • (String)


8771
8772
8773
# File 'lib/google/apis/compute_v1/classes.rb', line 8771

def health_state
  @health_state
end

#sourceString

Fully qualified URL of the associated HealthSource resource. Corresponds to the JSON property source

Returns:

  • (String)


8776
8777
8778
# File 'lib/google/apis/compute_v1/classes.rb', line 8776

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8783
8784
8785
8786
# File 'lib/google/apis/compute_v1/classes.rb', line 8783

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