Class: Google::Apis::ComputeAlpha::BackendServicesScopedList

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

Returns a new instance of BackendServicesScopedList.



4543
4544
4545
# File 'lib/google/apis/compute_alpha/classes.rb', line 4543

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

Instance Attribute Details

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

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



4535
4536
4537
# File 'lib/google/apis/compute_alpha/classes.rb', line 4535

def backend_services
  @backend_services
end

#warningGoogle::Apis::ComputeAlpha::BackendServicesScopedList::Warning

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



4541
4542
4543
# File 'lib/google/apis/compute_alpha/classes.rb', line 4541

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4548
4549
4550
4551
# File 'lib/google/apis/compute_alpha/classes.rb', line 4548

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