Class: Google::Apis::WorkloadmanagerV1::Insight

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 host resource usage where the workload runs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Insight

Returns a new instance of Insight.



161
162
163
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 161

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

Instance Attribute Details

#sap_discoveryGoogle::Apis::WorkloadmanagerV1::SapDiscovery

The schema of SAP system discovery data. Corresponds to the JSON property sapDiscovery



148
149
150
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 148

def sap_discovery
  @sap_discovery
end

#sap_validationGoogle::Apis::WorkloadmanagerV1::SapValidation

A presentation of SAP workload insight. The schema of SAP workloads validation related data. Corresponds to the JSON property sapValidation



154
155
156
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 154

def sap_validation
  @sap_validation
end

#sent_timeString

Output only. [Output only] Create time stamp Corresponds to the JSON property sentTime

Returns:

  • (String)


159
160
161
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 159

def sent_time
  @sent_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



166
167
168
169
170
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 166

def update!(**args)
  @sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
  @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
  @sent_time = args[:sent_time] if args.key?(:sent_time)
end