Class: Google::Apis::ComputeBeta::HealthCheckServicesScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



19461
19462
19463
# File 'lib/google/apis/compute_beta/classes.rb', line 19461

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

Instance Attribute Details

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

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



19453
19454
19455
# File 'lib/google/apis/compute_beta/classes.rb', line 19453

def resources
  @resources
end

#warningGoogle::Apis::ComputeBeta::HealthCheckServicesScopedList::Warning

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



19459
19460
19461
# File 'lib/google/apis/compute_beta/classes.rb', line 19459

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19466
19467
19468
19469
# File 'lib/google/apis/compute_beta/classes.rb', line 19466

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