πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/GKEHub
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 AnthosVMMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMSubFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMSubFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceStatus.php
β–Ά Open πŸ“„ View Source
🐘 ApplianceCluster.php
β–Ά Open πŸ“„ View Source
🐘 AuditConfig.php
β–Ά Open πŸ“„ View Source
🐘 AuditLogConfig.php
β–Ά Open πŸ“„ View Source
🐘 Authority.php
β–Ά Open πŸ“„ View Source
🐘 BinaryAuthorizationConfig.php
β–Ά Open πŸ“„ View Source
🐘 Binding.php
β–Ά Open πŸ“„ View Source
🐘 CancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 CloudBuildSpec.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeFleetSpec.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeFleetState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgrade.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeFeatureCondition.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeOverride.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeIgnoredMembership.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeMembershipGKEUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradePostConditions.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeUpgradeStatus.php
β–Ά Open πŸ“„ View Source
🐘 CommonFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 CommonFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 CommonFleetDefaultMemberConfigSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSync.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementContainerOverride.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementContainerResourceRequirements.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementDeploymentOverride.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementErrorResource.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGatekeeperDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGitConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGroupVersionKind.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementInstallError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementManaged.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementOciConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementOperatorState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyController.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerMigration.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerMonitoring.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementQuantity.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSyncError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSyncState.php
β–Ά Open πŸ“„ View Source
🐘 ConnectAgentResource.php
β–Ά Open πŸ“„ View Source
🐘 DataplaneV2FeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 DefaultClusterConfig.php
β–Ά Open πŸ“„ View Source
🐘 EdgeCluster.php
β–Ά Open πŸ“„ View Source
🐘 Expr.php
β–Ά Open πŸ“„ View Source
🐘 Feature.php
β–Ά Open πŸ“„ View Source
🐘 FeatureConfigRef.php
β–Ά Open πŸ“„ View Source
🐘 FeatureResourceState.php
β–Ά Open πŸ“„ View Source
🐘 FeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 FeatureState.php
β–Ά Open πŸ“„ View Source
🐘 Fleet.php
β–Ά Open πŸ“„ View Source
🐘 FleetLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureError.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityBaseFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityLoggingState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityMonitoringState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityLoggingConfig.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityRoutingConfig.php
β–Ά Open πŸ“„ View Source
🐘 GenerateConnectManifestResponse.php
β–Ά Open πŸ“„ View Source
🐘 GenerateMembershipRBACRoleBindingYAMLResponse.php
β–Ά Open πŸ“„ View Source
🐘 GkeCluster.php
β–Ά Open πŸ“„ View Source
🐘 GkehubEmpty.php
β–Ά Open πŸ“„ View Source
🐘 GkehubNamespace.php
β–Ά Open πŸ“„ View Source
🐘 GoogleRpcStatus.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceAuthMethod.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceAzureADConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceDiagnosticInterface.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceGoogleConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceGroupConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceIdentityServiceOptions.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceLdapConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceOidcConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSamlConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceServerConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceServiceAccountConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSimpleBindCredentials.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSpec.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceState.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceUserConfig.php
β–Ά Open πŸ“„ View Source
🐘 KubernetesMetadata.php
β–Ά Open πŸ“„ View Source
🐘 KubernetesResource.php
β–Ά Open πŸ“„ View Source
🐘 LifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 ListBoundMembershipsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListFeaturesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListFleetsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipFeaturesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipRBACRoleBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListPermittedScopesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopeNamespacesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopeRBACRoleBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopesResponse.php
β–Ά Open πŸ“„ View Source
🐘 LocalControllerState.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 Membership.php
β–Ά Open πŸ“„ View Source
🐘 MembershipBinding.php
β–Ά Open πŸ“„ View Source
🐘 MembershipBindingLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 MembershipEndpoint.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeature.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 MembershipState.php
β–Ά Open πŸ“„ View Source
🐘 MeteringState.php
β–Ά Open πŸ“„ View Source
🐘 MigrateSpec.php
β–Ά Open πŸ“„ View Source
🐘 MigrateState.php
β–Ά Open πŸ“„ View Source
🐘 MonitoringConfig.php
β–Ά Open πŸ“„ View Source
🐘 MultiCloudCluster.php
β–Ά Open πŸ“„ View Source
🐘 MultiClusterIngressFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 NamespaceLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 OnPremCluster.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 Origin.php
β–Ά Open πŸ“„ View Source
🐘 Policy.php
β–Ά Open πŸ“„ View Source
🐘 PolicyBinding.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerBundleInstallSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerHubConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMonitoringConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerOnClusterState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyContentSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyContentState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerDeploymentConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubVersion.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerResourceList.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerResourceRequirements.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerTemplateLibraryConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerToleration.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBinding.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationRBACRoleBindingState.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationSpec.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationState.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 ResourceManifest.php
β–Ά Open πŸ“„ View Source
🐘 ResourceOptions.php
β–Ά Open πŸ“„ View Source
🐘 Role.php
β–Ά Open πŸ“„ View Source
🐘 Scope.php
β–Ά Open πŸ“„ View Source
🐘 ScopeFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 ScopeFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 ScopeLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 SecurityPostureConfig.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshAnalysisMessage.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshAnalysisMessageBase.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshCondition.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshControlPlaneManagement.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshDataPlaneManagement.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshSpec.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshState.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshStatusDetails.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshType.php
β–Ά Open πŸ“„ View Source
🐘 SetIamPolicyRequest.php
β–Ά Open πŸ“„ View Source
🐘 State.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsRequest.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsResponse.php
β–Ά Open πŸ“„ View Source
🐘 TypeMeta.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadCertificateSpec.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadIdentityIdentityProviderStateDetail.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadIdentityState.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: PolicyControllerState.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\GKEHub;

class PolicyControllerState extends \Google\Model
{
  /**
   * The lifecycle state is unspecified.
   */
  public const STATE_LIFECYCLE_STATE_UNSPECIFIED = 'LIFECYCLE_STATE_UNSPECIFIED';
  /**
   * The PC does not exist on the given cluster, and no k8s resources of any
   * type that are associated with the PC should exist there. The cluster does
   * not possess a membership with the PCH.
   */
  public const STATE_NOT_INSTALLED = 'NOT_INSTALLED';
  /**
   * The PCH possesses a Membership, however the PC is not fully installed on
   * the cluster. In this state the hub can be expected to be taking actions to
   * install the PC on the cluster.
   */
  public const STATE_INSTALLING = 'INSTALLING';
  /**
   * The PC is fully installed on the cluster and in an operational mode. In
   * this state PCH will be reconciling state with the PC, and the PC will be
   * performing it's operational tasks per that software. Entering a READY state
   * requires that the hub has confirmed the PC is installed and its pods are
   * operational with the version of the PC the PCH expects.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The PC is fully installed, but in the process of changing the configuration
   * (including changing the version of PC either up and down, or modifying the
   * manifests of PC) of the resources running on the cluster. The PCH has a
   * Membership, is aware of the version the cluster should be running in, but
   * has not confirmed for itself that the PC is running with that version.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The PC may have resources on the cluster, but the PCH wishes to remove the
   * Membership. The Membership still exists.
   */
  public const STATE_DECOMMISSIONING = 'DECOMMISSIONING';
  /**
   * The PC is not operational, and the PCH is unable to act to make it
   * operational. Entering a CLUSTER_ERROR state happens automatically when the
   * PCH determines that a PC installed on the cluster is non-operative or that
   * the cluster does not meet requirements set for the PCH to administer the
   * cluster but has nevertheless been given an instruction to do so (such as
   * β€˜install').
   */
  public const STATE_CLUSTER_ERROR = 'CLUSTER_ERROR';
  /**
   * In this state, the PC may still be operational, and only the PCH is unable
   * to act. The hub should not issue instructions to change the PC state, or
   * otherwise interfere with the on-cluster resources. Entering a HUB_ERROR
   * state happens automatically when the PCH determines the hub is in an
   * unhealthy state and it wishes to β€˜take hands off' to avoid corrupting the
   * PC or other data.
   */
  public const STATE_HUB_ERROR = 'HUB_ERROR';
  /**
   * Policy Controller (PC) is installed but suspended. This means that the
   * policies are not enforced, but violations are still recorded (through
   * audit).
   */
  public const STATE_SUSPENDED = 'SUSPENDED';
  /**
   * PoCo Hub is not taking any action to reconcile cluster objects. Changes to
   * those objects will not be overwritten by PoCo Hub.
   */
  public const STATE_DETACHED = 'DETACHED';
  protected $componentStatesType = PolicyControllerOnClusterState::class;
  protected $componentStatesDataType = 'map';
  protected $policyContentStateType = PolicyControllerPolicyContentState::class;
  protected $policyContentStateDataType = '';
  /**
   * The overall Policy Controller lifecycle state observed by the Hub Feature
   * controller.
   *
   * @var string
   */
  public $state;

  /**
   * Currently these include (also serving as map keys): 1. "admission" 2.
   * "audit" 3. "mutation"
   *
   * @param PolicyControllerOnClusterState[] $componentStates
   */
  public function setComponentStates($componentStates)
  {
    $this->componentStates = $componentStates;
  }
  /**
   * @return PolicyControllerOnClusterState[]
   */
  public function getComponentStates()
  {
    return $this->componentStates;
  }
  /**
   * The overall content state observed by the Hub Feature controller.
   *
   * @param PolicyControllerPolicyContentState $policyContentState
   */
  public function setPolicyContentState(PolicyControllerPolicyContentState $policyContentState)
  {
    $this->policyContentState = $policyContentState;
  }
  /**
   * @return PolicyControllerPolicyContentState
   */
  public function getPolicyContentState()
  {
    return $this->policyContentState;
  }
  /**
   * The overall Policy Controller lifecycle state observed by the Hub Feature
   * controller.
   *
   * Accepted values: LIFECYCLE_STATE_UNSPECIFIED, NOT_INSTALLED, INSTALLING,
   * ACTIVE, UPDATING, DECOMMISSIONING, CLUSTER_ERROR, HUB_ERROR, SUSPENDED,
   * DETACHED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyControllerState::class, 'Google_Service_GKEHub_PolicyControllerState');
← Back