Class: Google::Apis::SqladminV1beta3::InstancesImportResponse

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 import 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) ⇒ InstancesImportResponse

Returns a new instance of InstancesImportResponse



834
835
836
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 834

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


825
826
827
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 825

def kind
  @kind
end

#operationString

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

Returns:

  • (String)


832
833
834
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 832

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



839
840
841
842
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 839

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