Class: Google::Apis::ComputeBeta::CompositeHealthChecksGetHealthResponseHealthSourceHealth

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksGetHealthResponseHealthSourceHealth

Returns a new instance of CompositeHealthChecksGetHealthResponseHealthSourceHealth.



9548
9549
9550
# File 'lib/google/apis/compute_beta/classes.rb', line 9548

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)


9541
9542
9543
# File 'lib/google/apis/compute_beta/classes.rb', line 9541

def health_state
  @health_state
end

#sourceString

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

Returns:

  • (String)


9546
9547
9548
# File 'lib/google/apis/compute_beta/classes.rb', line 9546

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9553
9554
9555
9556
# File 'lib/google/apis/compute_beta/classes.rb', line 9553

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