Class: Google::Apis::ComputeV1::SslPoliciesScopedList

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



36069
36070
36071
# File 'lib/google/apis/compute_v1/classes.rb', line 36069

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

Instance Attribute Details

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

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



36061
36062
36063
# File 'lib/google/apis/compute_v1/classes.rb', line 36061

def ssl_policies
  @ssl_policies
end

#warningGoogle::Apis::ComputeV1::SslPoliciesScopedList::Warning

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



36067
36068
36069
# File 'lib/google/apis/compute_v1/classes.rb', line 36067

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36074
36075
36076
36077
# File 'lib/google/apis/compute_v1/classes.rb', line 36074

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