Class: Google::Cloud::NetworkConnectivity::V1::SpokeSummary

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkconnectivity/v1/hub.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.

Defined Under Namespace

Classes: SpokeStateCount, SpokeStateReasonCount, SpokeTypeCount

Instance Attribute Summary collapse

Instance Attribute Details

#spoke_state_counts::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateCount> (readonly)

Returns Output only. Counts the number of spokes that are in each state and associated with a given hub.

Returns:



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1077

class SpokeSummary
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The number of spokes of a given type that are associated
  # with a specific hub. The type indicates what kind of
  # resource is associated with the spoke.
  # @!attribute [r] spoke_type
  #   @return [::Google::Cloud::NetworkConnectivity::V1::SpokeType]
  #     Output only. The type of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes of this type that are
  #     associated with the hub.
  class SpokeTypeCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes that are in a particular state
  # and associated with a given hub.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::State]
  #     Output only. The state of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are in this state
  #     and associated with a given hub.
  class SpokeStateCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes in the hub that are inactive for this reason.
  # @!attribute [r] state_reason_code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     Output only. The reason that a spoke is inactive.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are inactive for a
  #     particular reason and associated with a given hub.
  class SpokeStateReasonCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#spoke_state_reason_counts::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateReasonCount> (readonly)

Returns Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

Returns:



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1077

class SpokeSummary
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The number of spokes of a given type that are associated
  # with a specific hub. The type indicates what kind of
  # resource is associated with the spoke.
  # @!attribute [r] spoke_type
  #   @return [::Google::Cloud::NetworkConnectivity::V1::SpokeType]
  #     Output only. The type of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes of this type that are
  #     associated with the hub.
  class SpokeTypeCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes that are in a particular state
  # and associated with a given hub.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::State]
  #     Output only. The state of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are in this state
  #     and associated with a given hub.
  class SpokeStateCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes in the hub that are inactive for this reason.
  # @!attribute [r] state_reason_code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     Output only. The reason that a spoke is inactive.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are inactive for a
  #     particular reason and associated with a given hub.
  class SpokeStateReasonCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#spoke_type_counts::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeTypeCount> (readonly)

Returns Output only. Counts the number of spokes of each type that are associated with a specific hub.

Returns:



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1077

class SpokeSummary
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The number of spokes of a given type that are associated
  # with a specific hub. The type indicates what kind of
  # resource is associated with the spoke.
  # @!attribute [r] spoke_type
  #   @return [::Google::Cloud::NetworkConnectivity::V1::SpokeType]
  #     Output only. The type of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes of this type that are
  #     associated with the hub.
  class SpokeTypeCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes that are in a particular state
  # and associated with a given hub.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::State]
  #     Output only. The state of the spokes.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are in this state
  #     and associated with a given hub.
  class SpokeStateCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The number of spokes in the hub that are inactive for this reason.
  # @!attribute [r] state_reason_code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     Output only. The reason that a spoke is inactive.
  # @!attribute [r] count
  #   @return [::Integer]
  #     Output only. The total number of spokes that are inactive for a
  #     particular reason and associated with a given hub.
  class SpokeStateReasonCount
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end