Class: Google::Apis::ComputeV1::HealthAggregationPoliciesScopedList

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

Returns a new instance of HealthAggregationPoliciesScopedList.



15233
15234
15235
# File 'lib/google/apis/compute_v1/classes.rb', line 15233

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

Instance Attribute Details

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

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



15225
15226
15227
# File 'lib/google/apis/compute_v1/classes.rb', line 15225

def health_aggregation_policies
  @health_aggregation_policies
end

#warningGoogle::Apis::ComputeV1::HealthAggregationPoliciesScopedList::Warning

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



15231
15232
15233
# File 'lib/google/apis/compute_v1/classes.rb', line 15231

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15238
15239
15240
15241
# File 'lib/google/apis/compute_v1/classes.rb', line 15238

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