Class: Google::Apis::ContainerV1::KubernetesDashboard

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

Configuration for the Kubernetes Dashboard.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KubernetesDashboard

Returns a new instance of KubernetesDashboard.



2122
2123
2124
# File 'lib/google/apis/container_v1/classes.rb', line 2122

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

Instance Attribute Details

#disabledBoolean Also known as: disabled?

Whether the Kubernetes Dashboard is enabled for this cluster. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


2119
2120
2121
# File 'lib/google/apis/container_v1/classes.rb', line 2119

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2127
2128
2129
# File 'lib/google/apis/container_v1/classes.rb', line 2127

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