Class: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList

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

Returns a new instance of NetworkEdgeSecurityServicesScopedList.



36610
36611
36612
# File 'lib/google/apis/compute_v1/classes.rb', line 36610

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

Instance Attribute Details

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

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



36602
36603
36604
# File 'lib/google/apis/compute_v1/classes.rb', line 36602

def network_edge_security_services
  @network_edge_security_services
end

#warningGoogle::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning

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



36608
36609
36610
# File 'lib/google/apis/compute_v1/classes.rb', line 36608

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36615
36616
36617
36618
# File 'lib/google/apis/compute_v1/classes.rb', line 36615

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