Class: Google::Apis::SqladminV1beta3::InstancesUpdateResponse

Inherits:
Object
  • Object
show all
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 update response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstancesUpdateResponse

Returns a new instance of InstancesUpdateResponse



1073
1074
1075
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1073

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

This is always sql#instancesUpdate. Corresponds to the JSON property kind

Returns:

  • (String)


1065
1066
1067
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1065

def kind
  @kind
end

#operationString

An identifier that uniquely identifies the operation. You can use this identifier to retrieve information about the operation. Corresponds to the JSON property operation

Returns:

  • (String)


1071
1072
1073
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1071

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1078
1079
1080
1081
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1078

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @operation = args[:operation] if args.key?(:operation)
end