Class: Google::Apis::ComputeV1::TargetHttpProxiesScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetHttpProxiesScopedList

Returns a new instance of TargetHttpProxiesScopedList.



43407
43408
43409
# File 'lib/google/apis/compute_v1/classes.rb', line 43407

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

Instance Attribute Details

#target_http_proxiesArray<Google::Apis::ComputeV1::TargetHttpProxy>

A list of TargetHttpProxies contained in this scope. Corresponds to the JSON property targetHttpProxies



43399
43400
43401
# File 'lib/google/apis/compute_v1/classes.rb', line 43399

def target_http_proxies
  @target_http_proxies
end

#warningGoogle::Apis::ComputeV1::TargetHttpProxiesScopedList::Warning

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



43405
43406
43407
# File 'lib/google/apis/compute_v1/classes.rb', line 43405

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43412
43413
43414
43415
# File 'lib/google/apis/compute_v1/classes.rb', line 43412

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