Class: Google::Apis::ComputeV1::BackendServicesScopedList

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

Returns a new instance of BackendServicesScopedList.



6416
6417
6418
# File 'lib/google/apis/compute_v1/classes.rb', line 6416

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

Instance Attribute Details

#backend_servicesArray<Google::Apis::ComputeV1::BackendService>

A list of BackendServices contained in this scope. Corresponds to the JSON property backendServices



6408
6409
6410
# File 'lib/google/apis/compute_v1/classes.rb', line 6408

def backend_services
  @backend_services
end

#warningGoogle::Apis::ComputeV1::BackendServicesScopedList::Warning

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



6414
6415
6416
# File 'lib/google/apis/compute_v1/classes.rb', line 6414

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6421
6422
6423
6424
# File 'lib/google/apis/compute_v1/classes.rb', line 6421

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