Class: Google::Apis::NetworkconnectivityV1::SpokeSummary
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::SpokeSummary
- 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
Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.
Instance Attribute Summary collapse
-
#spoke_state_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeStateCount>
Output only.
-
#spoke_state_reason_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeStateReasonCount>
Output only.
-
#spoke_type_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeTypeCount>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpokeSummary
constructor
A new instance of SpokeSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpokeSummary
Returns a new instance of SpokeSummary.
3579 3580 3581 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spoke_state_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeStateCount>
Output only. Counts the number of spokes that are in each state and associated
with a given hub.
Corresponds to the JSON property spokeStateCounts
3565 3566 3567 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3565 def spoke_state_counts @spoke_state_counts end |
#spoke_state_reason_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeStateReasonCount>
Output only. Counts the number of spokes that are inactive for each possible
reason and associated with a given hub.
Corresponds to the JSON property spokeStateReasonCounts
3571 3572 3573 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3571 def spoke_state_reason_counts @spoke_state_reason_counts end |
#spoke_type_counts ⇒ Array<Google::Apis::NetworkconnectivityV1::SpokeTypeCount>
Output only. Counts the number of spokes of each type that are associated with
a specific hub.
Corresponds to the JSON property spokeTypeCounts
3577 3578 3579 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3577 def spoke_type_counts @spoke_type_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3584 3585 3586 3587 3588 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3584 def update!(**args) @spoke_state_counts = args[:spoke_state_counts] if args.key?(:spoke_state_counts) @spoke_state_reason_counts = args[:spoke_state_reason_counts] if args.key?(:spoke_state_reason_counts) @spoke_type_counts = args[:spoke_type_counts] if args.key?(:spoke_type_counts) end |