Class: Google::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList

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

Returns a new instance of NetworkEdgeSecurityServicesScopedList.



24565
24566
24567
# File 'lib/google/apis/compute_alpha/classes.rb', line 24565

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

Instance Attribute Details

#network_edge_security_servicesArray<Google::Apis::ComputeAlpha::NetworkEdgeSecurityService>

A list of NetworkEdgeSecurityServices contained in this scope. Corresponds to the JSON property networkEdgeSecurityServices



24557
24558
24559
# File 'lib/google/apis/compute_alpha/classes.rb', line 24557

def network_edge_security_services
  @network_edge_security_services
end

#warningGoogle::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList::Warning

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



24563
24564
24565
# File 'lib/google/apis/compute_alpha/classes.rb', line 24563

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24570
24571
24572
24573
# File 'lib/google/apis/compute_alpha/classes.rb', line 24570

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