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.



1264
1265
1266
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1264

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>)


1251
1252
1253
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1251

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)


1256
1257
1258
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1256

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)


1262
1263
1264
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1262

def sap_validation_type
  @sap_validation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1269
1270
1271
1272
1273
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1269

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