Class: Google::Apis::GkehubV1beta::LocalControllerState

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

Overview

LocalControllerState contains the state of the local controller deployed in the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocalControllerState

Returns a new instance of LocalControllerState.



1844
1845
1846
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1844

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

Instance Attribute Details

#descriptionString

Description represents the human readable description of the current state of the local PE controller Corresponds to the JSON property description

Returns:

  • (String)


1836
1837
1838
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1836

def description
  @description
end

#installation_stateString

InstallationState represents the state of deployment of the local PE controller in the cluster. Corresponds to the JSON property installationState

Returns:

  • (String)


1842
1843
1844
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1842

def installation_state
  @installation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1849
1850
1851
1852
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1849

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