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.



469
470
471
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 469

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)


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

def instance_id
  @instance_id
end

#sap_discoveryGoogle::Apis::WorkloadmanagerV1::SapDiscovery

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



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

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



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

def sap_validation
  @sap_validation
end

#sent_timeString

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

Returns:

  • (String)


456
457
458
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 456

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



462
463
464
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 462

def sqlserver_validation
  @sqlserver_validation
end

#torso_validationGoogle::Apis::WorkloadmanagerV1::TorsoValidation

The schema of torso workload validation data. Corresponds to the JSON property torsoValidation



467
468
469
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 467

def torso_validation
  @torso_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



474
475
476
477
478
479
480
481
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 474

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)
  @torso_validation = args[:torso_validation] if args.key?(:torso_validation)
end