Class: Google::Apis::ComputeBeta::CompositeHealthChecksScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksScopedList

Returns a new instance of CompositeHealthChecksScopedList.



9574
9575
9576
# File 'lib/google/apis/compute_beta/classes.rb', line 9574

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

Instance Attribute Details

#composite_health_checksArray<Google::Apis::ComputeBeta::CompositeHealthCheck>

A list of CompositeHealthChecks contained in this scope. Corresponds to the JSON property compositeHealthChecks



9566
9567
9568
# File 'lib/google/apis/compute_beta/classes.rb', line 9566

def composite_health_checks
  @composite_health_checks
end

#warningGoogle::Apis::ComputeBeta::CompositeHealthChecksScopedList::Warning

Informational warning which replaces the list of composite health checks when the list is empty. Corresponds to the JSON property warning



9572
9573
9574
# File 'lib/google/apis/compute_beta/classes.rb', line 9572

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9579
9580
9581
9582
# File 'lib/google/apis/compute_beta/classes.rb', line 9579

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