Class: Google::Apis::ComputeV1::HealthCheckServicesScopedList

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

Returns a new instance of HealthCheckServicesScopedList.



18543
18544
18545
# File 'lib/google/apis/compute_v1/classes.rb', line 18543

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

Instance Attribute Details

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

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



18535
18536
18537
# File 'lib/google/apis/compute_v1/classes.rb', line 18535

def resources
  @resources
end

#warningGoogle::Apis::ComputeV1::HealthCheckServicesScopedList::Warning

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



18541
18542
18543
# File 'lib/google/apis/compute_v1/classes.rb', line 18541

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18548
18549
18550
18551
# File 'lib/google/apis/compute_v1/classes.rb', line 18548

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