Class: Google::Apis::AlloydbV1beta::UpgradeClusterResponse
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::UpgradeClusterResponse
- 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
UpgradeClusterResponse contains the response for upgrade cluster operation.
Instance Attribute Summary collapse
-
#cluster_upgrade_details ⇒ Array<Google::Apis::AlloydbV1beta::ClusterUpgradeDetails>
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
-
#message ⇒ String
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
-
#status ⇒ String
Status of upgrade operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpgradeClusterResponse
constructor
A new instance of UpgradeClusterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpgradeClusterResponse
Returns a new instance of UpgradeClusterResponse.
3936 3937 3938 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_upgrade_details ⇒ Array<Google::Apis::AlloydbV1beta::ClusterUpgradeDetails>
Array of upgrade details for the current cluster and all the secondary
clusters associated with this cluster.
Corresponds to the JSON property clusterUpgradeDetails
3923 3924 3925 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3923 def cluster_upgrade_details @cluster_upgrade_details end |
#message ⇒ String
A user friendly message summarising the upgrade operation details and the next
steps for the user if there is any.
Corresponds to the JSON property message
3929 3930 3931 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3929 def @message end |
#status ⇒ String
Status of upgrade operation.
Corresponds to the JSON property status
3934 3935 3936 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3934 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3941 3942 3943 3944 3945 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3941 def update!(**args) @cluster_upgrade_details = args[:cluster_upgrade_details] if args.key?(:cluster_upgrade_details) @message = args[:message] if args.key?(:message) @status = args[:status] if args.key?(:status) end |