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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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



3452
3453
3454
# File 'generated/google/apis/compute_beta/classes.rb', line 3452

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



3444
3445
3446
# File 'generated/google/apis/compute_beta/classes.rb', line 3444

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



3450
3451
3452
# File 'generated/google/apis/compute_beta/classes.rb', line 3450

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3457
3458
3459
3460
# File 'generated/google/apis/compute_beta/classes.rb', line 3457

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