Class: Google::Apis::ComputeBeta::BackendServicesScopedList

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

Returns a new instance of BackendServicesScopedList.



4176
4177
4178
# File 'lib/google/apis/compute_beta/classes.rb', line 4176

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

Instance Attribute Details

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

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



4168
4169
4170
# File 'lib/google/apis/compute_beta/classes.rb', line 4168

def backend_services
  @backend_services
end

#warningGoogle::Apis::ComputeBeta::BackendServicesScopedList::Warning

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



4174
4175
4176
# File 'lib/google/apis/compute_beta/classes.rb', line 4174

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4181
4182
4183
4184
# File 'lib/google/apis/compute_beta/classes.rb', line 4181

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