Class: Google::Apis::SqladminV1beta3::InstancesCloneResponse

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 clone 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) ⇒ InstancesCloneResponse

Returns a new instance of InstancesCloneResponse



732
733
734
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 732

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


723
724
725
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 723

def kind
  @kind
end

#operationString

An unique identifier for the operation associated with the cloned instance. You can use this identifier to retrieve the Operations resource, which has information about the operation. Corresponds to the JSON property operation

Returns:

  • (String)


730
731
732
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 730

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



737
738
739
740
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 737

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