Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata.
The state and activation time details of the resource state.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#effective_time
def effective_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Accompanies only the transient states, which include
ADDING
,DELETING
, andSUSPENDING
, to denote the time until which the transient state of the resource will be effective. For instance, if the state isADDING
, this field shows the time when the resource state transitions toACTIVE
.
#state
def state() -> ::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata::State
Returns
- (::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata::State) — Output only. The state of the resource.