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.



3183
3184
3185
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3183

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

Instance Attribute Details

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

List of migration violations. Corresponds to the JSON property errors



3171
3172
3173
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3171

def errors
  @errors
end

#kindString

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

Returns:

  • (String)


3176
3177
3178
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3176

def kind
  @kind
end

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

List of migration warnings. Corresponds to the JSON property warnings



3181
3182
3183
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3181

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3188
3189
3190
3191
3192
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3188

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