Class: Google::Apis::ComputeBeta::SslPoliciesScopedList

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



41547
41548
41549
# File 'lib/google/apis/compute_beta/classes.rb', line 41547

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

Instance Attribute Details

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

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



41539
41540
41541
# File 'lib/google/apis/compute_beta/classes.rb', line 41539

def ssl_policies
  @ssl_policies
end

#warningGoogle::Apis::ComputeBeta::SslPoliciesScopedList::Warning

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



41545
41546
41547
# File 'lib/google/apis/compute_beta/classes.rb', line 41545

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41552
41553
41554
41555
# File 'lib/google/apis/compute_beta/classes.rb', line 41552

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