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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BackendServicesScopedList

Returns a new instance of BackendServicesScopedList



3850
3851
3852
# File 'generated/google/apis/compute_alpha/classes.rb', line 3850

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



3842
3843
3844
# File 'generated/google/apis/compute_alpha/classes.rb', line 3842

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



3848
3849
3850
# File 'generated/google/apis/compute_alpha/classes.rb', line 3848

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3855
3856
3857
3858
# File 'generated/google/apis/compute_alpha/classes.rb', line 3855

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