Class: Google::Apis::WorkloadmanagerV1::OpenShiftValidation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::OpenShiftValidation
- 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 OpenShift workload insight. The schema of OpenShift workloads validation related data.
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
Required.
-
#validation_details ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OpenShiftValidation
constructor
A new instance of OpenShiftValidation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OpenShiftValidation
Returns a new instance of OpenShiftValidation.
2038 2039 2040 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_id ⇒ String
Required. The OpenShift cluster ID (e.g. 8371bb05-7cac-4d38-82c0-0f58c4f6f936).
Corresponds to the JSON property clusterId
2031 2032 2033 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2031 def cluster_id @cluster_id end |
#validation_details ⇒ Hash<String,Object>
Required. The validation details of the OpenShift cluster in JSON format.
Corresponds to the JSON property validationDetails
2036 2037 2038 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2036 def validation_details @validation_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2043 2044 2045 2046 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2043 def update!(**args) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @validation_details = args[:validation_details] if args.key?(:validation_details) end |