Class: Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksGetHealthResponseHealthSourceHealth

Returns a new instance of CompositeHealthChecksGetHealthResponseHealthSourceHealth.



10087
10088
10089
# File 'lib/google/apis/compute_alpha/classes.rb', line 10087

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)


10080
10081
10082
# File 'lib/google/apis/compute_alpha/classes.rb', line 10080

def health_state
  @health_state
end

#sourceString

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

Returns:

  • (String)


10085
10086
10087
# File 'lib/google/apis/compute_alpha/classes.rb', line 10085

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10092
10093
10094
10095
# File 'lib/google/apis/compute_alpha/classes.rb', line 10092

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