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.



1238
1239
1240
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1238

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)


1226
1227
1228
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1226

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



1231
1232
1233
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1231

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)


1236
1237
1238
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1236

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1243
1244
1245
1246
1247
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1243

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