Class: Google::Apis::ComputeV1::CompositeHealthChecksScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksScopedList

Returns a new instance of CompositeHealthChecksScopedList.



8818
8819
8820
# File 'lib/google/apis/compute_v1/classes.rb', line 8818

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

Instance Attribute Details

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

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



8810
8811
8812
# File 'lib/google/apis/compute_v1/classes.rb', line 8810

def composite_health_checks
  @composite_health_checks
end

#warningGoogle::Apis::ComputeV1::CompositeHealthChecksScopedList::Warning

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



8816
8817
8818
# File 'lib/google/apis/compute_v1/classes.rb', line 8816

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8823
8824
8825
8826
# File 'lib/google/apis/compute_v1/classes.rb', line 8823

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