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.



1941
1942
1943
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1941

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)


1929
1930
1931
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1929

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



1934
1935
1936
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1934

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)


1939
1940
1941
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1939

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1946
1947
1948
1949
1950
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1946

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