Class: Google::Cloud::NetworkConnectivity::V1::StateTimeline
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkConnectivity::V1::StateTimeline
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb
Overview
The timeline of the pending states for a resource.
Defined Under Namespace
Classes: StateMetadata
Instance Attribute Summary collapse
-
#states ⇒ ::Array<::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata>
readonly
Output only.
Instance Attribute Details
#states ⇒ ::Array<::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata> (readonly)
Returns Output only. The state and activation time details of the resource state.
506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 506 class StateTimeline include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state and activation time details of the resource state. # @!attribute [r] state # @return [::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata::State] # Output only. The state of the resource. # @!attribute [r] effective_time # @return [::Google::Protobuf::Timestamp] # Output only. Accompanies only the transient states, which include # `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which # the transient state of the resource will be effective. For instance, if # the state is `ADDING`, this field shows the time when the resource state # transitions to `ACTIVE`. class StateMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the resource. module State # An invalid state, which is the default case. STATE_UNSPECIFIED = 0 # The resource is being added. ADDING = 1 # The resource is in use. ACTIVE = 2 # The resource is being deleted. DELETING = 3 # The resource is being suspended. SUSPENDING = 4 # The resource is suspended and not in use. SUSPENDED = 5 end end end |