Class: Google::Apis::AlloydbV1beta::StageInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StageInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Stage information for different stages in the upgrade process.
Instance Attribute Summary collapse
-
#logs_url ⇒ String
logs_url is the URL for the logs associated with a stage if that stage has logs.
-
#stage ⇒ String
The stage.
-
#status ⇒ String
Status of the stage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StageInfo
constructor
A new instance of StageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageInfo
Returns a new instance of StageInfo.
2685 2686 2687 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logs_url ⇒ String
logs_url is the URL for the logs associated with a stage if that stage has
logs. Right now, only three stages have logs: ALLOYDB_PRECHECK,
PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
Corresponds to the JSON property logsUrl
2673 2674 2675 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2673 def logs_url @logs_url end |
#stage ⇒ String
The stage.
Corresponds to the JSON property stage
2678 2679 2680 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2678 def stage @stage end |
#status ⇒ String
Status of the stage.
Corresponds to the JSON property status
2683 2684 2685 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2683 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2690 2691 2692 2693 2694 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2690 def update!(**args) @logs_url = args[:logs_url] if args.key?(:logs_url) @stage = args[:stage] if args.key?(:stage) @status = args[:status] if args.key?(:status) end |