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.



3060
3061
3062
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3060

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

Instance Attribute Details

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

List of migration violations. Corresponds to the JSON property errors



3048
3049
3050
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3048

def errors
  @errors
end

#kindString

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

Returns:

  • (String)


3053
3054
3055
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3053

def kind
  @kind
end

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

List of migration warnings. Corresponds to the JSON property warnings



3058
3059
3060
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3058

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3065
3066
3067
3068
3069
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3065

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