Class: Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason

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

Overview

The reason a spoke is inactive.

Defined Under Namespace

Modules: Code

Instance Attribute Summary collapse

Instance Attribute Details

#code::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code

Returns The code associated with this reason.

Returns:



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 185

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

  # The Code enum represents the various reasons a state can be `INACTIVE`.
  module Code
    # No information available.
    CODE_UNSPECIFIED = 0

    # The proposed spoke is pending review.
    PENDING_REVIEW = 1

    # The proposed spoke has been rejected by the hub administrator.
    REJECTED = 2

    # The spoke has been deactivated internally.
    PAUSED = 3

    # Network Connectivity Center encountered errors while accepting
    # the spoke.
    FAILED = 4
  end
end

#message::String

Returns Human-readable details about this reason.

Returns:

  • (::String)

    Human-readable details about this reason.



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 185

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

  # The Code enum represents the various reasons a state can be `INACTIVE`.
  module Code
    # No information available.
    CODE_UNSPECIFIED = 0

    # The proposed spoke is pending review.
    PENDING_REVIEW = 1

    # The proposed spoke has been rejected by the hub administrator.
    REJECTED = 2

    # The spoke has been deactivated internally.
    PAUSED = 3

    # Network Connectivity Center encountered errors while accepting
    # the spoke.
    FAILED = 4
  end
end

#user_details::String

Returns Additional information provided by the user in the RejectSpoke call.

Returns:

  • (::String)

    Additional information provided by the user in the RejectSpoke call.



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 185

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

  # The Code enum represents the various reasons a state can be `INACTIVE`.
  module Code
    # No information available.
    CODE_UNSPECIFIED = 0

    # The proposed spoke is pending review.
    PENDING_REVIEW = 1

    # The proposed spoke has been rejected by the hub administrator.
    REJECTED = 2

    # The spoke has been deactivated internally.
    PAUSED = 3

    # Network Connectivity Center encountered errors while accepting
    # the spoke.
    FAILED = 4
  end
end