Class: Google::Apis::ComputeAlpha::SslPoliciesScopedList

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

Returns a new instance of SslPoliciesScopedList.



43713
43714
43715
# File 'lib/google/apis/compute_alpha/classes.rb', line 43713

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

Instance Attribute Details

#ssl_policiesArray<Google::Apis::ComputeAlpha::SslPolicy>

A list of SslPolicies contained in this scope. Corresponds to the JSON property sslPolicies



43705
43706
43707
# File 'lib/google/apis/compute_alpha/classes.rb', line 43705

def ssl_policies
  @ssl_policies
end

#warningGoogle::Apis::ComputeAlpha::SslPoliciesScopedList::Warning

Informational warning which replaces the list of SSL policies when the list is empty. Corresponds to the JSON property warning



43711
43712
43713
# File 'lib/google/apis/compute_alpha/classes.rb', line 43711

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43718
43719
43720
43721
# File 'lib/google/apis/compute_alpha/classes.rb', line 43718

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