Class: Google::Apis::NetworkconnectivityV1::HubStatusEntry
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::HubStatusEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
The hub status entry.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of status.
-
#group_by ⇒ String
The same group_by field from the request.
-
#psc_propagation_status ⇒ Google::Apis::NetworkconnectivityV1::PscPropagationStatus
The PSC propagation status in a hub.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HubStatusEntry
constructor
A new instance of HubStatusEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HubStatusEntry
Returns a new instance of HubStatusEntry.
1005 1006 1007 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of status. If group_by is not set in the request, the default is 1.
Corresponds to the JSON property count
993 994 995 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 993 def count @count end |
#group_by ⇒ String
The same group_by field from the request.
Corresponds to the JSON property groupBy
998 999 1000 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 998 def group_by @group_by end |
#psc_propagation_status ⇒ Google::Apis::NetworkconnectivityV1::PscPropagationStatus
The PSC propagation status in a hub.
Corresponds to the JSON property pscPropagationStatus
1003 1004 1005 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1003 def psc_propagation_status @psc_propagation_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 1013 1014 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1010 def update!(**args) @count = args[:count] if args.key?(:count) @group_by = args[:group_by] if args.key?(:group_by) @psc_propagation_status = args[:psc_propagation_status] if args.key?(:psc_propagation_status) end |