Class: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb

Overview

External primary instance migration setting error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlExternalSyncSettingError

Returns a new instance of SqlExternalSyncSettingError.



2592
2593
2594
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2592

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

Instance Attribute Details

#detailString

Additional information about the error encountered. Corresponds to the JSON property detail

Returns:

  • (String)


2580
2581
2582
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2580

def detail
  @detail
end

#kindString

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

Returns:

  • (String)


2585
2586
2587
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2585

def kind
  @kind
end

#typeString

Identifies the specific error that occurred. Corresponds to the JSON property type

Returns:

  • (String)


2590
2591
2592
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2590

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2597
2598
2599
2600
2601
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2597

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