Class: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail

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

Overview

Message describing the Sqlserver validation metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlserverValidationValidationDetail

Returns a new instance of SqlserverValidationValidationDetail.



1148
1149
1150
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1148

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

Instance Attribute Details

#fieldsHash<String,String>

pairs of metrics data: column name & column value. Corresponds to the JSON property fields

Returns:

  • (Hash<String,String>)


1141
1142
1143
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1141

def fields
  @fields
end

#typeString

The Sqlserver system that the validation data is from. Corresponds to the JSON property type

Returns:

  • (String)


1146
1147
1148
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1146

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1153
1154
1155
1156
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1153

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