Class: Google::Apis::SqladminV1::SqlInstancesVerifyExternalSyncSettingsResponse

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

Overview

Instance verify external sync settings response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlInstancesVerifyExternalSyncSettingsResponse

Returns a new instance of SqlInstancesVerifyExternalSyncSettingsResponse.



3116
3117
3118
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3116

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

Instance Attribute Details

#errorsArray<Google::Apis::SqladminV1::SqlExternalSyncSettingError>

List of migration violations. Corresponds to the JSON property errors



3104
3105
3106
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3104

def errors
  @errors
end

#kindString

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

Returns:

  • (String)


3109
3110
3111
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3109

def kind
  @kind
end

#warningsArray<Google::Apis::SqladminV1::SqlExternalSyncSettingError>

List of migration warnings. Corresponds to the JSON property warnings



3114
3115
3116
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3114

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3121
3122
3123
3124
3125
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3121

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