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.



1635
1636
1637
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1635

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


1622
1623
1624
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1622

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)


1627
1628
1629
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1627

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)


1633
1634
1635
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1633

def sap_validation_type
  @sap_validation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1640
1641
1642
1643
1644
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1640

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