Class: Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.
Instance Attribute Summary collapse
-
#constraint_type ⇒ String
The constraint type of the issue.
-
#description ⇒ String
The description of the issue.
-
#documentation_url ⇒ String
A URL to a public documnetation, which addresses resolving this issue.
-
#incompatibility_type ⇒ String
The incompatibility type of this issue.
-
#last_observation ⇒ String
The last time when this issue was observed.
-
#subjects ⇒ Array<String>
The name of the resources which are subject to this issue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutopilotCompatibilityIssue
constructor
A new instance of AutopilotCompatibilityIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutopilotCompatibilityIssue
Returns a new instance of AutopilotCompatibilityIssue.
493 494 495 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constraint_type ⇒ String
The constraint type of the issue.
Corresponds to the JSON property constraintType
466 467 468 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 466 def constraint_type @constraint_type end |
#description ⇒ String
The description of the issue.
Corresponds to the JSON property description
471 472 473 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 471 def description @description end |
#documentation_url ⇒ String
A URL to a public documnetation, which addresses resolving this issue.
Corresponds to the JSON property documentationUrl
476 477 478 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 476 def documentation_url @documentation_url end |
#incompatibility_type ⇒ String
The incompatibility type of this issue.
Corresponds to the JSON property incompatibilityType
481 482 483 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 481 def incompatibility_type @incompatibility_type end |
#last_observation ⇒ String
The last time when this issue was observed.
Corresponds to the JSON property lastObservation
486 487 488 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 486 def last_observation @last_observation end |
#subjects ⇒ Array<String>
The name of the resources which are subject to this issue.
Corresponds to the JSON property subjects
491 492 493 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 491 def subjects @subjects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
498 499 500 501 502 503 504 505 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 498 def update!(**args) @constraint_type = args[:constraint_type] if args.key?(:constraint_type) @description = args[:description] if args.key?(:description) @documentation_url = args[:documentation_url] if args.key?(:documentation_url) @incompatibility_type = args[:incompatibility_type] if args.key?(:incompatibility_type) @last_observation = args[:last_observation] if args.key?(:last_observation) @subjects = args[:subjects] if args.key?(:subjects) end |