Class: Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.



1438
1439
1440
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1438

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

Instance Attribute Details

#gatekeeper_auditString

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

Returns:

  • (String)


1426
1427
1428
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1426

def gatekeeper_audit
  @gatekeeper_audit
end

#gatekeeper_controller_manager_stateString

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

Returns:

  • (String)


1431
1432
1433
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1431

def gatekeeper_controller_manager_state
  @gatekeeper_controller_manager_state
end

#gatekeeper_mutationString

Status of the pod serving the mutation webhook. Corresponds to the JSON property gatekeeperMutation

Returns:

  • (String)


1436
1437
1438
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1436

def gatekeeper_mutation
  @gatekeeper_mutation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1443
1444
1445
1446
1447
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1443

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)
  @gatekeeper_mutation = args[:gatekeeper_mutation] if args.key?(:gatekeeper_mutation)
end