Class: Google::Apis::ContainerV1::AutopilotCompatibilityIssue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutopilotCompatibilityIssue

Returns a new instance of AutopilotCompatibilityIssue.



417
418
419
# File 'lib/google/apis/container_v1/classes.rb', line 417

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#constraint_typeString

The constraint type of the issue. Corresponds to the JSON property constraintType

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/container_v1/classes.rb', line 390

def constraint_type
  @constraint_type
end

#descriptionString

The description of the issue. Corresponds to the JSON property description

Returns:

  • (String)


395
396
397
# File 'lib/google/apis/container_v1/classes.rb', line 395

def description
  @description
end

#documentation_urlString

A URL to a public documnetation, which addresses resolving this issue. Corresponds to the JSON property documentationUrl

Returns:

  • (String)


400
401
402
# File 'lib/google/apis/container_v1/classes.rb', line 400

def documentation_url
  @documentation_url
end

#incompatibility_typeString

The incompatibility type of this issue. Corresponds to the JSON property incompatibilityType

Returns:

  • (String)


405
406
407
# File 'lib/google/apis/container_v1/classes.rb', line 405

def incompatibility_type
  @incompatibility_type
end

#last_observationString

The last time when this issue was observed. Corresponds to the JSON property lastObservation

Returns:

  • (String)


410
411
412
# File 'lib/google/apis/container_v1/classes.rb', line 410

def last_observation
  @last_observation
end

#subjectsArray<String>

The name of the resources which are subject to this issue. Corresponds to the JSON property subjects

Returns:

  • (Array<String>)


415
416
417
# File 'lib/google/apis/container_v1/classes.rb', line 415

def subjects
  @subjects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



422
423
424
425
426
427
428
429
# File 'lib/google/apis/container_v1/classes.rb', line 422

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