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:



1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1510

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:



1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1510

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:



1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 1510

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