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

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



2586
2587
2588
# File 'generated/google/apis/compute_v1/classes.rb', line 2586

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

Instance Attribute Details

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

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



2578
2579
2580
# File 'generated/google/apis/compute_v1/classes.rb', line 2578

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



2584
2585
2586
# File 'generated/google/apis/compute_v1/classes.rb', line 2584

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2591
2592
2593
2594
# File 'generated/google/apis/compute_v1/classes.rb', line 2591

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