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.



1344
1345
1346
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1344

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)


1332
1333
1334
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1332

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



1337
1338
1339
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1337

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)


1342
1343
1344
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1342

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1349
1350
1351
1352
1353
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1349

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