Class: Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/edgenetwork/v1/service.rb

Overview

DiagnoseNetworkResponse contains the current status for a specific network.

Defined Under Namespace

Classes: NetworkStatus

Instance Attribute Summary collapse

Instance Attribute Details

#result::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse::NetworkStatus

Returns The network status of a specific network.

Returns:



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
# File 'proto_docs/google/cloud/edgenetwork/v1/service.rb', line 639

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

  # NetworkStatus has a list of status for the subnets under the current
  # network.
  # @!attribute [rw] subnet_status
  #   @return [::Array<::Google::Cloud::EdgeNetwork::V1::SubnetStatus>]
  #     A list of status for the subnets under the current network.
  # @!attribute [rw] macsec_status_internal_links
  #   @return [::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse::NetworkStatus::MacsecStatus]
  #     The MACsec status of internal links.
  class NetworkStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Denotes the status of MACsec sessions for the links of a zone.
    module MacsecStatus
      # MACsec status not specified, likely due to missing metrics.
      MACSEC_STATUS_UNSPECIFIED = 0

      # All relevant links have at least one MACsec session up.
      SECURE = 1

      # At least one relevant link does not have any MACsec sessions up.
      UNSECURE = 2
    end
  end
end

#update_time::Google::Protobuf::Timestamp

Returns The time when the network status was last updated.

Returns:



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
# File 'proto_docs/google/cloud/edgenetwork/v1/service.rb', line 639

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

  # NetworkStatus has a list of status for the subnets under the current
  # network.
  # @!attribute [rw] subnet_status
  #   @return [::Array<::Google::Cloud::EdgeNetwork::V1::SubnetStatus>]
  #     A list of status for the subnets under the current network.
  # @!attribute [rw] macsec_status_internal_links
  #   @return [::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse::NetworkStatus::MacsecStatus]
  #     The MACsec status of internal links.
  class NetworkStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Denotes the status of MACsec sessions for the links of a zone.
    module MacsecStatus
      # MACsec status not specified, likely due to missing metrics.
      MACSEC_STATUS_UNSPECIFIED = 0

      # All relevant links have at least one MACsec session up.
      SECURE = 1

      # At least one relevant link does not have any MACsec sessions up.
      UNSECURE = 2
    end
  end
end