Class: Google::Apis::SqladminV1beta3::InstancesPromoteReplicaResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta3::InstancesPromoteReplicaResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb
Overview
Database promote read replica response.
Instance Attribute Summary collapse
-
#kind ⇒ String
This is always sql#instancesPromoteReplica.
-
#operation ⇒ String
An identifier that uniquely identifies the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesPromoteReplicaResponse
constructor
A new instance of InstancesPromoteReplicaResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstancesPromoteReplicaResponse
Returns a new instance of InstancesPromoteReplicaResponse
937 938 939 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 937 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
This is always sql#instancesPromoteReplica.
Corresponds to the JSON property kind
928 929 930 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 928 def kind @kind end |
#operation ⇒ String
An identifier that uniquely identifies the operation. You can use this
identifier to retrieve the Operations resource that has information about the
operation.
Corresponds to the JSON property operation
935 936 937 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 935 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
942 943 944 945 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 942 def update!(**args) @kind = args[:kind] if args.key?(:kind) @operation = args[:operation] if args.key?(:operation) end |