Class: Google::Apis::ComputeAlpha::HealthAggregationPoliciesScopedList

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

Returns a new instance of HealthAggregationPoliciesScopedList.



17288
17289
17290
# File 'lib/google/apis/compute_alpha/classes.rb', line 17288

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

Instance Attribute Details

#health_aggregation_policiesArray<Google::Apis::ComputeAlpha::HealthAggregationPolicy>

A list of HealthAggregationPolicys contained in this scope. Corresponds to the JSON property healthAggregationPolicies



17280
17281
17282
# File 'lib/google/apis/compute_alpha/classes.rb', line 17280

def health_aggregation_policies
  @health_aggregation_policies
end

#warningGoogle::Apis::ComputeAlpha::HealthAggregationPoliciesScopedList::Warning

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



17286
17287
17288
# File 'lib/google/apis/compute_alpha/classes.rb', line 17286

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17293
17294
17295
17296
# File 'lib/google/apis/compute_alpha/classes.rb', line 17293

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