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.



596
597
598
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 596

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)


572
573
574
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 572

def instance_id
  @instance_id
end

#sap_discoveryGoogle::Apis::WorkloadmanagerV1::SapDiscovery

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



577
578
579
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 577

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



583
584
585
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 583

def sap_validation
  @sap_validation
end

#sent_timeString

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

Returns:

  • (String)


588
589
590
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 588

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



594
595
596
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 594

def sqlserver_validation
  @sqlserver_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
604
605
606
607
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 601

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