Class: Google::Apis::SqladminV1beta3::InstancesRestartResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta3::InstancesRestartResponse
- 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 instance restart response.
Instance Attribute Summary collapse
-
#kind ⇒ String
This is always sql#instancesRestart.
-
#operation ⇒ String
An identifier that uniquely identifies the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesRestartResponse
constructor
A new instance of InstancesRestartResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstancesRestartResponse
Returns a new instance of InstancesRestartResponse
993 994 995 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
This is always sql#instancesRestart.
Corresponds to the JSON property kind
984 985 986 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 984 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
991 992 993 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 991 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
998 999 1000 1001 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 998 def update!(**args) @kind = args[:kind] if args.key?(:kind) @operation = args[:operation] if args.key?(:operation) end |