Class: Google::Apis::ComputeAlpha::CompositeHealthChecksScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeHealthChecksScopedList

Returns a new instance of CompositeHealthChecksScopedList.



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

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

Instance Attribute Details

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

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



10083
10084
10085
# File 'lib/google/apis/compute_alpha/classes.rb', line 10083

def composite_health_checks
  @composite_health_checks
end

#warningGoogle::Apis::ComputeAlpha::CompositeHealthChecksScopedList::Warning

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



10089
10090
10091
# File 'lib/google/apis/compute_alpha/classes.rb', line 10089

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10096
10097
10098
10099
# File 'lib/google/apis/compute_alpha/classes.rb', line 10096

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