Class: Google::Apis::ComputeAlpha::NetworkEndpointGroupsScopedList

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

Returns a new instance of NetworkEndpointGroupsScopedList.



24525
24526
24527
# File 'lib/google/apis/compute_alpha/classes.rb', line 24525

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

Instance Attribute Details

#network_endpoint_groupsArray<Google::Apis::ComputeAlpha::NetworkEndpointGroup>

[Output Only] The list of network endpoint groups that are contained in this scope. Corresponds to the JSON property networkEndpointGroups



24517
24518
24519
# File 'lib/google/apis/compute_alpha/classes.rb', line 24517

def network_endpoint_groups
  @network_endpoint_groups
end

#warningGoogle::Apis::ComputeAlpha::NetworkEndpointGroupsScopedList::Warning

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty. Corresponds to the JSON property warning



24523
24524
24525
# File 'lib/google/apis/compute_alpha/classes.rb', line 24523

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24530
24531
24532
24533
# File 'lib/google/apis/compute_alpha/classes.rb', line 24530

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