Class: Google::Apis::WorkloadmanagerV1::SapValidation

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

A presentation of SAP workload insight. The schema of SAP workloads validation related data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapValidation

Returns a new instance of SapValidation.



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

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

Instance Attribute Details

#project_idString

Required. The project_id of the cloud project that the Insight data comes from. Corresponds to the JSON property projectId

Returns:

  • (String)


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

def project_id
  @project_id
end

#validation_detailsArray<Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail>

Optional. A list of SAP validation metrics data. Corresponds to the JSON property validationDetails



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

def validation_details
  @validation_details
end

#zoneString

Optional. The zone of the instance that the Insight data comes from. Corresponds to the JSON property zone

Returns:

  • (String)


1738
1739
1740
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1738

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
  @validation_details = args[:validation_details] if args.key?(:validation_details)
  @zone = args[:zone] if args.key?(:zone)
end