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.



452
453
454
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 452

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

Instance Attribute Details

#instance_idString

Required. The instance id where the insight is generated from Corresponds to the JSON property instanceId

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 428

def instance_id
  @instance_id
end

#sap_discoveryGoogle::Apis::WorkloadmanagerV1::SapDiscovery

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



433
434
435
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 433

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



439
440
441
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 439

def sap_validation
  @sap_validation
end

#sent_timeString

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

Returns:

  • (String)


444
445
446
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 444

def sent_time
  @sent_time
end

#sqlserver_validationGoogle::Apis::WorkloadmanagerV1::SqlserverValidation

A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data. Corresponds to the JSON property sqlserverValidation



450
451
452
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 450

def sqlserver_validation
  @sqlserver_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



457
458
459
460
461
462
463
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 457

def update!(**args)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @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)
  @sqlserver_validation = args[:sqlserver_validation] if args.key?(:sqlserver_validation)
end