Class: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList

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

Returns a new instance of TargetHttpProxiesScopedList



30306
30307
30308
# File 'generated/google/apis/compute_alpha/classes.rb', line 30306

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

Instance Attribute Details

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

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



30298
30299
30300
# File 'generated/google/apis/compute_alpha/classes.rb', line 30298

def target_http_proxies
  @target_http_proxies
end

#warningGoogle::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Warning

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



30304
30305
30306
# File 'generated/google/apis/compute_alpha/classes.rb', line 30304

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30311
30312
30313
30314
# File 'generated/google/apis/compute_alpha/classes.rb', line 30311

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