Class: Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata

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

Overview

The state and activation time details of the resource state.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#effective_time::Google::Protobuf::Timestamp (readonly)

Returns 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.

Returns:

  • (::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.



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
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 521

class 
  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

#state::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata::State (readonly)

Returns Output only. The state of the resource.

Returns:



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
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 521

class 
  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