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

Constructor Details

#initialize(**args) ⇒ BackendServicesScopedList

Returns a new instance of BackendServicesScopedList.



3619
3620
3621
# File 'generated/google/apis/compute_v1/classes.rb', line 3619

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

Instance Attribute Details

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

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



3611
3612
3613
# File 'generated/google/apis/compute_v1/classes.rb', line 3611

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



3617
3618
3619
# File 'generated/google/apis/compute_v1/classes.rb', line 3617

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
3627
# File 'generated/google/apis/compute_v1/classes.rb', line 3624

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