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

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



42146
42147
42148
# File 'lib/google/apis/compute_alpha/classes.rb', line 42146

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



42138
42139
42140
# File 'lib/google/apis/compute_alpha/classes.rb', line 42138

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



42144
42145
42146
# File 'lib/google/apis/compute_alpha/classes.rb', line 42144

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42151
42152
42153
42154
# File 'lib/google/apis/compute_alpha/classes.rb', line 42151

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