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.



1603
1604
1605
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1603

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)


1591
1592
1593
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1591

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



1596
1597
1598
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1596

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)


1601
1602
1603
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1601

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1608
1609
1610
1611
1612
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1608

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