Class: Google::Apis::ReplicapoolV1beta1::ReplicaStatus
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta1::ReplicaStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta1/classes.rb,
generated/google/apis/replicapool_v1beta1/representations.rb,
generated/google/apis/replicapool_v1beta1/representations.rb
Overview
The current status of a Replica.
Instance Attribute Summary collapse
-
#details ⇒ String
[Output Only] Human-readable details about the current state of the replica Corresponds to the JSON property
details
. -
#state ⇒ String
[Output Only] The state of the Replica.
-
#template_version ⇒ String
[Output Only] The template used to build the replica.
-
#vm_link ⇒ String
[Output Only] Link to the virtual machine that this Replica represents.
-
#vm_start_time ⇒ String
[Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicaStatus
constructor
A new instance of ReplicaStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReplicaStatus
Returns a new instance of ReplicaStatus
673 674 675 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 673 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
[Output Only] Human-readable details about the current state of the replica
Corresponds to the JSON property details
650 651 652 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 650 def details @details end |
#state ⇒ String
[Output Only] The state of the Replica.
Corresponds to the JSON property state
655 656 657 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 655 def state @state end |
#template_version ⇒ String
[Output Only] The template used to build the replica.
Corresponds to the JSON property templateVersion
660 661 662 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 660 def template_version @template_version end |
#vm_link ⇒ String
[Output Only] Link to the virtual machine that this Replica represents.
Corresponds to the JSON property vmLink
665 666 667 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 665 def vm_link @vm_link end |
#vm_start_time ⇒ String
[Output Only] The time that this Replica got to the RUNNING state, in RFC 3339
format. If the start time is unknown, UNKNOWN is returned.
Corresponds to the JSON property vmStartTime
671 672 673 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 671 def vm_start_time @vm_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
678 679 680 681 682 683 684 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 678 def update!(**args) @details = args[:details] if args.key?(:details) @state = args[:state] if args.key?(:state) @template_version = args[:template_version] if args.key?(:template_version) @vm_link = args[:vm_link] if args.key?(:vm_link) @vm_start_time = args[:vm_start_time] if args.key?(:vm_start_time) end |