Class: Google::Apis::ComputeAlpha::HealthCheckServicesScopedList

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) ⇒ HealthCheckServicesScopedList

Returns a new instance of HealthCheckServicesScopedList.



11583
11584
11585
# File 'lib/google/apis/compute_alpha/classes.rb', line 11583

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

Instance Attribute Details

#resourcesArray<Google::Apis::ComputeAlpha::HealthCheckService>

A list of HealthCheckServices contained in this scope. Corresponds to the JSON property resources



11575
11576
11577
# File 'lib/google/apis/compute_alpha/classes.rb', line 11575

def resources
  @resources
end

#warningGoogle::Apis::ComputeAlpha::HealthCheckServicesScopedList::Warning

Informational warning which replaces the list of backend services when the list is empty. Corresponds to the JSON property warning



11581
11582
11583
# File 'lib/google/apis/compute_alpha/classes.rb', line 11581

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11588
11589
11590
11591
# File 'lib/google/apis/compute_alpha/classes.rb', line 11588

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