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.



1742
1743
1744
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1742

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


1729
1730
1731
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1729

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)


1734
1735
1736
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1734

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)


1740
1741
1742
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1740

def sap_validation_type
  @sap_validation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1747
1748
1749
1750
1751
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1747

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