Class: Google::Apis::WorkloadmanagerV1::OpenShiftValidation

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 OpenShift workload insight. The schema of OpenShift workloads validation related data.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idString

Required. The OpenShift cluster ID (e.g. 8371bb05-7cac-4d38-82c0-0f58c4f6f936). Corresponds to the JSON property clusterId

Returns:

  • (String)


2031
2032
2033
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2031

def cluster_id
  @cluster_id
end

#validation_detailsHash<String,Object>

Required. The validation details of the OpenShift cluster in JSON format. Corresponds to the JSON property validationDetails

Returns:

  • (Hash<String,Object>)


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