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.



1139
1140
1141
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1139

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

Instance Attribute Details

#detailsHash<String,String>

The pairs of metrics data: field name & field value. Corresponds to the JSON property details

Returns:

  • (Hash<String,String>)


1127
1128
1129
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1127

def details
  @details
end

#instance_idString

The instance id where the ValidationDetail is generated from Corresponds to the JSON property instanceId

Returns:

  • (String)


1132
1133
1134
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1132

def instance_id
  @instance_id
end

#typeString

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

Returns:

  • (String)


1137
1138
1139
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1137

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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