📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Container
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccurateTimeConfig.php
▶ Open 📄 View Source
🐘 AdditionalIPRangesConfig.php
▶ Open 📄 View Source
🐘 AdditionalNodeNetworkConfig.php
▶ Open 📄 View Source
🐘 AdditionalPodNetworkConfig.php
▶ Open 📄 View Source
🐘 AdditionalPodRangesConfig.php
▶ Open 📄 View Source
🐘 AddonsConfig.php
▶ Open 📄 View Source
🐘 AdvancedDatapathObservabilityConfig.php
▶ Open 📄 View Source
🐘 AdvancedMachineFeatures.php
▶ Open 📄 View Source
🐘 AnonymousAuthenticationConfig.php
▶ Open 📄 View Source
🐘 AuthenticatorGroupsConfig.php
▶ Open 📄 View Source
🐘 AutoIpamConfig.php
▶ Open 📄 View Source
🐘 AutoMonitoringConfig.php
▶ Open 📄 View Source
🐘 AutoUpgradeOptions.php
▶ Open 📄 View Source
🐘 Autopilot.php
▶ Open 📄 View Source
🐘 AutopilotCompatibilityIssue.php
▶ Open 📄 View Source
🐘 AutopilotConfig.php
▶ Open 📄 View Source
🐘 AutoprovisioningNodePoolDefaults.php
▶ Open 📄 View Source
🐘 AutoscaledRolloutPolicy.php
▶ Open 📄 View Source
🐘 BestEffortProvisioning.php
▶ Open 📄 View Source
🐘 BigQueryDestination.php
▶ Open 📄 View Source
🐘 BinaryAuthorization.php
▶ Open 📄 View Source
🐘 BlueGreenInfo.php
▶ Open 📄 View Source
🐘 BlueGreenSettings.php
▶ Open 📄 View Source
🐘 BootDisk.php
▶ Open 📄 View Source
🐘 BootDiskProfile.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CertificateAuthorityDomainConfig.php
▶ Open 📄 View Source
🐘 CertificateConfig.php
▶ Open 📄 View Source
🐘 CertificateConfigPair.php
▶ Open 📄 View Source
🐘 CheckAutopilotCompatibilityResponse.php
▶ Open 📄 View Source
🐘 CidrBlock.php
▶ Open 📄 View Source
🐘 ClientCertificateConfig.php
▶ Open 📄 View Source
🐘 CloudRunConfig.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterAutoscaling.php
▶ Open 📄 View Source
🐘 ClusterNetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 ClusterPolicyConfig.php
▶ Open 📄 View Source
🐘 ClusterUpdate.php
▶ Open 📄 View Source
🐘 ClusterUpgradeInfo.php
▶ Open 📄 View Source
🐘 CompleteIPRotationRequest.php
▶ Open 📄 View Source
🐘 CompleteNodePoolUpgradeRequest.php
▶ Open 📄 View Source
🐘 CompliancePostureConfig.php
▶ Open 📄 View Source
🐘 ComplianceStandard.php
▶ Open 📄 View Source
🐘 ConfidentialNodes.php
▶ Open 📄 View Source
🐘 ConfigConnectorConfig.php
▶ Open 📄 View Source
🐘 ConsumptionMeteringConfig.php
▶ Open 📄 View Source
🐘 ContainerEmpty.php
▶ Open 📄 View Source
🐘 ContainerdConfig.php
▶ Open 📄 View Source
🐘 ControlPlaneEgress.php
▶ Open 📄 View Source
🐘 ControlPlaneEndpointsConfig.php
▶ Open 📄 View Source
🐘 CostManagementConfig.php
▶ Open 📄 View Source
🐘 CrashLoopBackOffConfig.php
▶ Open 📄 View Source
🐘 CreateClusterRequest.php
▶ Open 📄 View Source
🐘 CreateNodePoolRequest.php
▶ Open 📄 View Source
🐘 DNSConfig.php
▶ Open 📄 View Source
🐘 DNSEndpointConfig.php
▶ Open 📄 View Source
🐘 DailyMaintenanceWindow.php
▶ Open 📄 View Source
🐘 DatabaseEncryption.php
▶ Open 📄 View Source
🐘 DedicatedLocalSsdProfile.php
▶ Open 📄 View Source
🐘 DefaultComputeClassConfig.php
▶ Open 📄 View Source
🐘 DefaultSnatStatus.php
▶ Open 📄 View Source
🐘 DesiredAdditionalIPRangesConfig.php
▶ Open 📄 View Source
🐘 DesiredEnterpriseConfig.php
▶ Open 📄 View Source
🐘 DisruptionBudget.php
▶ Open 📄 View Source
🐘 DisruptionEvent.php
▶ Open 📄 View Source
🐘 DnsCacheConfig.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EnterpriseConfig.php
▶ Open 📄 View Source
🐘 EphemeralLocalSsdProfile.php
▶ Open 📄 View Source
🐘 EphemeralStorageLocalSsdConfig.php
▶ Open 📄 View Source
🐘 EvictionGracePeriod.php
▶ Open 📄 View Source
🐘 EvictionMinimumReclaim.php
▶ Open 📄 View Source
🐘 EvictionSignals.php
▶ Open 📄 View Source
🐘 FastSocket.php
▶ Open 📄 View Source
🐘 Filter.php
▶ Open 📄 View Source
🐘 Fleet.php
▶ Open 📄 View Source
🐘 GCPSecretManagerCertificateConfig.php
▶ Open 📄 View Source
🐘 GPUDirectConfig.php
▶ Open 📄 View Source
🐘 GPUDriverInstallationConfig.php
▶ Open 📄 View Source
🐘 GPUSharingConfig.php
▶ Open 📄 View Source
🐘 GatewayAPIConfig.php
▶ Open 📄 View Source
🐘 GcePersistentDiskCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GcfsConfig.php
▶ Open 📄 View Source
🐘 GcpFilestoreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GcsFuseCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GetJSONWebKeysResponse.php
▶ Open 📄 View Source
🐘 GetOpenIDConfigResponse.php
▶ Open 📄 View Source
🐘 GkeAutoUpgradeConfig.php
▶ Open 📄 View Source
🐘 GkeBackupAgentConfig.php
▶ Open 📄 View Source
🐘 HighScaleCheckpointingConfig.php
▶ Open 📄 View Source
🐘 HorizontalPodAutoscaling.php
▶ Open 📄 View Source
🐘 HostConfig.php
▶ Open 📄 View Source
🐘 HttpCacheControlResponseHeader.php
▶ Open 📄 View Source
🐘 HttpLoadBalancing.php
▶ Open 📄 View Source
🐘 HugepagesConfig.php
▶ Open 📄 View Source
🐘 ILBSubsettingConfig.php
▶ Open 📄 View Source
🐘 IPAllocationPolicy.php
▶ Open 📄 View Source
🐘 IPEndpointsConfig.php
▶ Open 📄 View Source
🐘 IdentityServiceConfig.php
▶ Open 📄 View Source
🐘 IntraNodeVisibilityConfig.php
▶ Open 📄 View Source
🐘 Jwk.php
▶ Open 📄 View Source
🐘 K8sBetaAPIConfig.php
▶ Open 📄 View Source
🐘 KubernetesDashboard.php
▶ Open 📄 View Source
🐘 LegacyAbac.php
▶ Open 📄 View Source
🐘 LinuxNodeConfig.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListNodePoolsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListUsableSubnetworksResponse.php
▶ Open 📄 View Source
🐘 LocalNvmeSsdBlockConfig.php
▶ Open 📄 View Source
🐘 LoggingComponentConfig.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 LoggingVariantConfig.php
▶ Open 📄 View Source
🐘 LustreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 MaintenanceExclusionOptions.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 ManagedMachineLearningDiagnosticsConfig.php
▶ Open 📄 View Source
🐘 ManagedOpenTelemetryConfig.php
▶ Open 📄 View Source
🐘 ManagedPrometheusConfig.php
▶ Open 📄 View Source
🐘 MasterAuth.php
▶ Open 📄 View Source
🐘 MasterAuthorizedNetworksConfig.php
▶ Open 📄 View Source
🐘 MaxPodsConstraint.php
▶ Open 📄 View Source
🐘 MemoryManager.php
▶ Open 📄 View Source
🐘 MeshCertificates.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 MonitoringComponentConfig.php
▶ Open 📄 View Source
🐘 MonitoringConfig.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 NetworkPolicy.php
▶ Open 📄 View Source
🐘 NetworkPolicyConfig.php
▶ Open 📄 View Source
🐘 NetworkTags.php
▶ Open 📄 View Source
🐘 NetworkTierConfig.php
▶ Open 📄 View Source
🐘 NodeAffinity.php
▶ Open 📄 View Source
🐘 NodeConfig.php
▶ Open 📄 View Source
🐘 NodeConfigDefaults.php
▶ Open 📄 View Source
🐘 NodeDrainConfig.php
▶ Open 📄 View Source
🐘 NodeKernelModuleLoading.php
▶ Open 📄 View Source
🐘 NodeKubeletConfig.php
▶ Open 📄 View Source
🐘 NodeLabels.php
▶ Open 📄 View Source
🐘 NodeManagement.php
▶ Open 📄 View Source
🐘 NodeNetworkConfig.php
▶ Open 📄 View Source
🐘 NodePool.php
▶ Open 📄 View Source
🐘 NodePoolAutoConfig.php
▶ Open 📄 View Source
🐘 NodePoolAutoscaling.php
▶ Open 📄 View Source
🐘 NodePoolDefaults.php
▶ Open 📄 View Source
🐘 NodePoolLoggingConfig.php
▶ Open 📄 View Source
🐘 NodePoolUpgradeInfo.php
▶ Open 📄 View Source
🐘 NodeTaint.php
▶ Open 📄 View Source
🐘 NodeTaints.php
▶ Open 📄 View Source
🐘 NotificationConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationError.php
▶ Open 📄 View Source
🐘 OperationProgress.php
▶ Open 📄 View Source
🐘 ParallelstoreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 ParentProductConfig.php
▶ Open 📄 View Source
🐘 PdbBlockedPod.php
▶ Open 📄 View Source
🐘 PlacementPolicy.php
▶ Open 📄 View Source
🐘 PodAutoscaling.php
▶ Open 📄 View Source
🐘 PodCIDROverprovisionConfig.php
▶ Open 📄 View Source
🐘 PodSnapshotConfig.php
▶ Open 📄 View Source
🐘 PrivateClusterConfig.php
▶ Open 📄 View Source
🐘 PrivateClusterMasterGlobalAccessConfig.php
▶ Open 📄 View Source
🐘 PrivateRegistryAccessConfig.php
▶ Open 📄 View Source
🐘 PrivilegedAdmissionConfig.php
▶ Open 📄 View Source
🐘 PubSub.php
▶ Open 📄 View Source
🐘 QueuedProvisioning.php
▶ Open 📄 View Source
🐘 RBACBindingConfig.php
▶ Open 📄 View Source
🐘 RangeInfo.php
▶ Open 📄 View Source
🐘 RayClusterLoggingConfig.php
▶ Open 📄 View Source
🐘 RayClusterMonitoringConfig.php
▶ Open 📄 View Source
🐘 RayOperatorConfig.php
▶ Open 📄 View Source
🐘 RecurringTimeWindow.php
▶ Open 📄 View Source
🐘 RegistryHeader.php
▶ Open 📄 View Source
🐘 RegistryHostConfig.php
▶ Open 📄 View Source
🐘 ReleaseChannel.php
▶ Open 📄 View Source
🐘 ReleaseChannelConfig.php
▶ Open 📄 View Source
🐘 ReservationAffinity.php
▶ Open 📄 View Source
🐘 ResourceLabels.php
▶ Open 📄 View Source
🐘 ResourceLimit.php
▶ Open 📄 View Source
🐘 ResourceManagerTags.php
▶ Open 📄 View Source
🐘 ResourceUsageExportConfig.php
▶ Open 📄 View Source
🐘 RollbackNodePoolUpgradeRequest.php
▶ Open 📄 View Source
🐘 RotationConfig.php
▶ Open 📄 View Source
🐘 SandboxConfig.php
▶ Open 📄 View Source
🐘 ScheduleUpgradeConfig.php
▶ Open 📄 View Source
🐘 SecondaryBootDisk.php
▶ Open 📄 View Source
🐘 SecondaryBootDiskUpdateStrategy.php
▶ Open 📄 View Source
🐘 SecretManagerConfig.php
▶ Open 📄 View Source
🐘 SecretSyncConfig.php
▶ Open 📄 View Source
🐘 SecurityBulletinEvent.php
▶ Open 📄 View Source
🐘 SecurityPostureConfig.php
▶ Open 📄 View Source
🐘 ServerConfig.php
▶ Open 📄 View Source
🐘 ServiceExternalIPsConfig.php
▶ Open 📄 View Source
🐘 SetAddonsConfigRequest.php
▶ Open 📄 View Source
🐘 SetLabelsRequest.php
▶ Open 📄 View Source
🐘 SetLegacyAbacRequest.php
▶ Open 📄 View Source
🐘 SetLocationsRequest.php
▶ Open 📄 View Source
🐘 SetLoggingServiceRequest.php
▶ Open 📄 View Source
🐘 SetMaintenancePolicyRequest.php
▶ Open 📄 View Source
🐘 SetMasterAuthRequest.php
▶ Open 📄 View Source
🐘 SetMonitoringServiceRequest.php
▶ Open 📄 View Source
🐘 SetNetworkPolicyRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolAutoscalingRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolManagementRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolSizeRequest.php
▶ Open 📄 View Source
🐘 ShieldedInstanceConfig.php
▶ Open 📄 View Source
🐘 ShieldedNodes.php
▶ Open 📄 View Source
🐘 SliceControllerConfig.php
▶ Open 📄 View Source
🐘 SlurmOperatorConfig.php
▶ Open 📄 View Source
🐘 SoleTenantConfig.php
▶ Open 📄 View Source
🐘 StandardRolloutPolicy.php
▶ Open 📄 View Source
🐘 StartIPRotationRequest.php
▶ Open 📄 View Source
🐘 StatefulHAConfig.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusCondition.php
▶ Open 📄 View Source
🐘 SwapConfig.php
▶ Open 📄 View Source
🐘 SyncRotationConfig.php
▶ Open 📄 View Source
🐘 TaintConfig.php
▶ Open 📄 View Source
🐘 TimeWindow.php
▶ Open 📄 View Source
🐘 TopologyManager.php
▶ Open 📄 View Source
🐘 UpdateClusterRequest.php
▶ Open 📄 View Source
🐘 UpdateInfo.php
▶ Open 📄 View Source
🐘 UpdateMasterRequest.php
▶ Open 📄 View Source
🐘 UpdateNodePoolRequest.php
▶ Open 📄 View Source
🐘 UpgradeAvailableEvent.php
▶ Open 📄 View Source
🐘 UpgradeDetails.php
▶ Open 📄 View Source
🐘 UpgradeEvent.php
▶ Open 📄 View Source
🐘 UpgradeInfoEvent.php
▶ Open 📄 View Source
🐘 UpgradeSettings.php
▶ Open 📄 View Source
🐘 UsableSubnetwork.php
▶ Open 📄 View Source
🐘 UsableSubnetworkSecondaryRange.php
▶ Open 📄 View Source
🐘 UserManagedKeysConfig.php
▶ Open 📄 View Source
🐘 VerticalPodAutoscaling.php
▶ Open 📄 View Source
🐘 VirtualNIC.php
▶ Open 📄 View Source
🐘 WindowsNodeConfig.php
▶ Open 📄 View Source
🐘 WorkloadIdentityConfig.php
▶ Open 📄 View Source
🐘 WorkloadMetadataConfig.php
▶ Open 📄 View Source
🐘 WorkloadPolicyConfig.php
▶ Open 📄 View Source
🐘 WritableCgroups.php
▶ Open 📄 View Source

📄 Source: StatusCondition.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\Container;

class StatusCondition extends \Google\Model
{
  /**
   * Not an error; returned on success. HTTP Mapping: 200 OK
   */
  public const CANONICAL_CODE_OK = 'OK';
  /**
   * The operation was cancelled, typically by the caller. HTTP Mapping: 499
   * Client Closed Request
   */
  public const CANONICAL_CODE_CANCELLED = 'CANCELLED';
  /**
   * Unknown error. For example, this error may be returned when a `Status`
   * value received from another address space belongs to an error space that is
   * not known in this address space. Also errors raised by APIs that do not
   * return enough error information may be converted to this error. HTTP
   * Mapping: 500 Internal Server Error
   */
  public const CANONICAL_CODE_UNKNOWN = 'UNKNOWN';
  /**
   * The client specified an invalid argument. Note that this differs from
   * `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are
   * problematic regardless of the state of the system (e.g., a malformed file
   * name). HTTP Mapping: 400 Bad Request
   */
  public const CANONICAL_CODE_INVALID_ARGUMENT = 'INVALID_ARGUMENT';
  /**
   * The deadline expired before the operation could complete. For operations
   * that change the state of the system, this error may be returned even if the
   * operation has completed successfully. For example, a successful response
   * from a server could have been delayed long enough for the deadline to
   * expire. HTTP Mapping: 504 Gateway Timeout
   */
  public const CANONICAL_CODE_DEADLINE_EXCEEDED = 'DEADLINE_EXCEEDED';
  /**
   * Some requested entity (e.g., file or directory) was not found. Note to
   * server developers: if a request is denied for an entire class of users,
   * such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may
   * be used. If a request is denied for some users within a class of users,
   * such as user-based access control, `PERMISSION_DENIED` must be used. HTTP
   * Mapping: 404 Not Found
   */
  public const CANONICAL_CODE_NOT_FOUND = 'NOT_FOUND';
  /**
   * The entity that a client attempted to create (e.g., file or directory)
   * already exists. HTTP Mapping: 409 Conflict
   */
  public const CANONICAL_CODE_ALREADY_EXISTS = 'ALREADY_EXISTS';
  /**
   * The caller does not have permission to execute the specified operation.
   * `PERMISSION_DENIED` must not be used for rejections caused by exhausting
   * some resource (use `RESOURCE_EXHAUSTED` instead for those errors).
   * `PERMISSION_DENIED` must not be used if the caller can not be identified
   * (use `UNAUTHENTICATED` instead for those errors). This error code does not
   * imply the request is valid or the requested entity exists or satisfies
   * other pre-conditions. HTTP Mapping: 403 Forbidden
   */
  public const CANONICAL_CODE_PERMISSION_DENIED = 'PERMISSION_DENIED';
  /**
   * The request does not have valid authentication credentials for the
   * operation. HTTP Mapping: 401 Unauthorized
   */
  public const CANONICAL_CODE_UNAUTHENTICATED = 'UNAUTHENTICATED';
  /**
   * Some resource has been exhausted, perhaps a per-user quota, or perhaps the
   * entire file system is out of space. HTTP Mapping: 429 Too Many Requests
   */
  public const CANONICAL_CODE_RESOURCE_EXHAUSTED = 'RESOURCE_EXHAUSTED';
  /**
   * The operation was rejected because the system is not in a state required
   * for the operation's execution. For example, the directory to be deleted is
   * non-empty, an rmdir operation is applied to a non-directory, etc. Service
   * implementors can use the following guidelines to decide between
   * `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE`
   * if the client can retry just the failing call. (b) Use `ABORTED` if the
   * client should retry at a higher level. For example, when a client-specified
   * test-and-set fails, indicating the client should restart a read-modify-
   * write sequence. (c) Use `FAILED_PRECONDITION` if the client should not
   * retry until the system state has been explicitly fixed. For example, if an
   * "rmdir" fails because the directory is non-empty, `FAILED_PRECONDITION`
   * should be returned since the client should not retry unless the files are
   * deleted from the directory. HTTP Mapping: 400 Bad Request
   */
  public const CANONICAL_CODE_FAILED_PRECONDITION = 'FAILED_PRECONDITION';
  /**
   * The operation was aborted, typically due to a concurrency issue such as a
   * sequencer check failure or transaction abort. See the guidelines above for
   * deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP
   * Mapping: 409 Conflict
   */
  public const CANONICAL_CODE_ABORTED = 'ABORTED';
  /**
   * The operation was attempted past the valid range. E.g., seeking or reading
   * past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem
   * that may be fixed if the system state changes. For example, a 32-bit file
   * system will generate `INVALID_ARGUMENT` if asked to read at an offset that
   * is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if
   * asked to read from an offset past the current file size. There is a fair
   * bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We
   * recommend using `OUT_OF_RANGE` (the more specific error) when it applies so
   * that callers who are iterating through a space can easily look for an
   * `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad
   * Request
   */
  public const CANONICAL_CODE_OUT_OF_RANGE = 'OUT_OF_RANGE';
  /**
   * The operation is not implemented or is not supported/enabled in this
   * service. HTTP Mapping: 501 Not Implemented
   */
  public const CANONICAL_CODE_UNIMPLEMENTED = 'UNIMPLEMENTED';
  /**
   * Internal errors. This means that some invariants expected by the underlying
   * system have been broken. This error code is reserved for serious errors.
   * HTTP Mapping: 500 Internal Server Error
   */
  public const CANONICAL_CODE_INTERNAL = 'INTERNAL';
  /**
   * The service is currently unavailable. This is most likely a transient
   * condition, which can be corrected by retrying with a backoff. Note that it
   * is not always safe to retry non-idempotent operations. See the guidelines
   * above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and
   * `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable
   */
  public const CANONICAL_CODE_UNAVAILABLE = 'UNAVAILABLE';
  /**
   * Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server
   * Error
   */
  public const CANONICAL_CODE_DATA_LOSS = 'DATA_LOSS';
  /**
   * UNKNOWN indicates a generic condition.
   */
  public const CODE_UNKNOWN = 'UNKNOWN';
  /**
   * GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily
   * unavailable.
   */
  public const CODE_GCE_STOCKOUT = 'GCE_STOCKOUT';
  /**
   * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
   * service account.
   */
  public const CODE_GKE_SERVICE_ACCOUNT_DELETED = 'GKE_SERVICE_ACCOUNT_DELETED';
  /**
   * Google Compute Engine quota was exceeded.
   */
  public const CODE_GCE_QUOTA_EXCEEDED = 'GCE_QUOTA_EXCEEDED';
  /**
   * Cluster state was manually changed by an SRE due to a system logic error.
   */
  public const CODE_SET_BY_OPERATOR = 'SET_BY_OPERATOR';
  /**
   * Unable to perform an encrypt operation against the CloudKMS key used for
   * etcd level encryption.
   */
  public const CODE_CLOUD_KMS_KEY_ERROR = 'CLOUD_KMS_KEY_ERROR';
  /**
   * Cluster CA is expiring soon.
   */
  public const CODE_CA_EXPIRING = 'CA_EXPIRING';
  /**
   * Node service account is missing permissions.
   */
  public const CODE_NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS = 'NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS';
  /**
   * Cloud KMS key version used for etcd level encryption has been destroyed.
   * This is a permanent error.
   */
  public const CODE_CLOUD_KMS_KEY_DESTROYED = 'CLOUD_KMS_KEY_DESTROYED';
  /**
   * Canonical code of the condition.
   *
   * @var string
   */
  public $canonicalCode;
  /**
   * Machine-friendly representation of the condition Deprecated. Use
   * canonical_code instead.
   *
   * @deprecated
   * @var string
   */
  public $code;
  /**
   * Human-friendly representation of the condition
   *
   * @var string
   */
  public $message;

  /**
   * Canonical code of the condition.
   *
   * Accepted values: OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT,
   * DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED,
   * UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED,
   * OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS
   *
   * @param self::CANONICAL_CODE_* $canonicalCode
   */
  public function setCanonicalCode($canonicalCode)
  {
    $this->canonicalCode = $canonicalCode;
  }
  /**
   * @return self::CANONICAL_CODE_*
   */
  public function getCanonicalCode()
  {
    return $this->canonicalCode;
  }
  /**
   * Machine-friendly representation of the condition Deprecated. Use
   * canonical_code instead.
   *
   * Accepted values: UNKNOWN, GCE_STOCKOUT, GKE_SERVICE_ACCOUNT_DELETED,
   * GCE_QUOTA_EXCEEDED, SET_BY_OPERATOR, CLOUD_KMS_KEY_ERROR, CA_EXPIRING,
   * NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS, CLOUD_KMS_KEY_DESTROYED
   *
   * @deprecated
   * @param self::CODE_* $code
   */
  public function setCode($code)
  {
    $this->code = $code;
  }
  /**
   * @deprecated
   * @return self::CODE_*
   */
  public function getCode()
  {
    return $this->code;
  }
  /**
   * Human-friendly representation of the condition
   *
   * @param string $message
   */
  public function setMessage($message)
  {
    $this->message = $message;
  }
  /**
   * @return string
   */
  public function getMessage()
  {
    return $this->message;
  }
}

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