Class: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList

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) ⇒ TargetHttpsProxiesScopedList

Returns a new instance of TargetHttpsProxiesScopedList.



42467
42468
42469
# File 'lib/google/apis/compute_alpha/classes.rb', line 42467

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

Instance Attribute Details

#target_https_proxiesArray<Google::Apis::ComputeAlpha::TargetHttpsProxy>

A list of TargetHttpsProxies contained in this scope. Corresponds to the JSON property targetHttpsProxies



42459
42460
42461
# File 'lib/google/apis/compute_alpha/classes.rb', line 42459

def target_https_proxies
  @target_https_proxies
end

#warningGoogle::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning

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



42465
42466
42467
# File 'lib/google/apis/compute_alpha/classes.rb', line 42465

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42472
42473
42474
42475
# File 'lib/google/apis/compute_alpha/classes.rb', line 42472

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