Class: Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail

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 SAP validation metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapValidationValidationDetail

Returns a new instance of SapValidationValidationDetail.



1232
1233
1234
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1232

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

Instance Attribute Details

#detailsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1219
1220
1221
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1219

def details
  @details
end

#is_presentBoolean Also known as: is_present?

Optional. Was there a SAP system detected for this validation type. Corresponds to the JSON property isPresent

Returns:

  • (Boolean)


1224
1225
1226
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1224

def is_present
  @is_present
end

#sap_validation_typeString

Optional. The SAP system that the validation data is from. Corresponds to the JSON property sapValidationType

Returns:

  • (String)


1230
1231
1232
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1230

def sap_validation_type
  @sap_validation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1237
1238
1239
1240
1241
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1237

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