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.



2040
2041
2042
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2040

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)


2033
2034
2035
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2033

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>)


2038
2039
2040
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2038

def validation_details
  @validation_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2045
2046
2047
2048
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2045

def update!(**args)
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
  @validation_details = args[:validation_details] if args.key?(:validation_details)
end