Class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapoolupdater_v1beta1/classes.rb,
 generated/google/apis/replicapoolupdater_v1beta1/representations.rb,
 generated/google/apis/replicapoolupdater_v1beta1/representations.rb
Overview
Update of a single instance.
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
- 
  
    
      #error  ⇒ Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Errors that occurred during the instance update. 
- 
  
    
      #instance  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Fully-qualified URL of the instance being updated. 
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Status of the instance update. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InstanceUpdate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InstanceUpdate. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceUpdate
Returns a new instance of InstanceUpdate
| 54 55 56 | # File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 54 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error ⇒ Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error
Errors that occurred during the instance update.
Corresponds to the JSON property error
| 32 33 34 | # File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 32 def error @error end | 
#instance ⇒ String
Fully-qualified URL of the instance being updated.
Corresponds to the JSON property instance
| 37 38 39 | # File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 37 def instance @instance end | 
#status ⇒ String
Status of the instance update. Possible values are:
- "PENDING": The instance update is pending execution.
- "ROLLING_FORWARD": The instance update is going forward.
- "ROLLING_BACK": The instance update is being rolled back.
- "PAUSED": The instance update is temporarily paused (inactive).
- "ROLLED_OUT": The instance update is finished, the instance is running the new template.
- "ROLLED_BACK": The instance update is finished, the instance has been reverted to the previous template.
- "CANCELLED": The instance update is paused and no longer can be resumed,
undefined in which template the instance is running.
Corresponds to the JSON property status
| 52 53 54 | # File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 52 def status @status end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 59 60 61 62 63 | # File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 59 def update!(**args) @error = args[:error] if args.key?(:error) @instance = args[:instance] if args.key?(:instance) @status = args[:status] if args.key?(:status) end |