Class: Google::Apis::GkehubV1::ConfigManagementGatekeeperDeploymentState

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

Overview

State of Policy Controller installation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementGatekeeperDeploymentState

Returns a new instance of ConfigManagementGatekeeperDeploymentState.



557
558
559
# File 'lib/google/apis/gkehub_v1/classes.rb', line 557

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

Instance Attribute Details

#gatekeeper_auditString

Status of gatekeeper-audit deployment. Corresponds to the JSON property gatekeeperAudit

Returns:

  • (String)


550
551
552
# File 'lib/google/apis/gkehub_v1/classes.rb', line 550

def gatekeeper_audit
  @gatekeeper_audit
end

#gatekeeper_controller_manager_stateString

Status of gatekeeper-controller-manager pod. Corresponds to the JSON property gatekeeperControllerManagerState

Returns:

  • (String)


555
556
557
# File 'lib/google/apis/gkehub_v1/classes.rb', line 555

def gatekeeper_controller_manager_state
  @gatekeeper_controller_manager_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



562
563
564
565
# File 'lib/google/apis/gkehub_v1/classes.rb', line 562

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