📂 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: NodePool.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 NodePool extends \Google\Collection
{
  /**
   * Not set.
   */
  public const STATUS_STATUS_UNSPECIFIED = 'STATUS_UNSPECIFIED';
  /**
   * The PROVISIONING state indicates the node pool is being created.
   */
  public const STATUS_PROVISIONING = 'PROVISIONING';
  /**
   * The RUNNING state indicates the node pool has been created and is fully
   * usable.
   */
  public const STATUS_RUNNING = 'RUNNING';
  /**
   * The RUNNING_WITH_ERROR state indicates the node pool has been created and
   * is partially usable. Some error state has occurred and some functionality
   * may be impaired. Customer may need to reissue a request or trigger a new
   * update.
   */
  public const STATUS_RUNNING_WITH_ERROR = 'RUNNING_WITH_ERROR';
  /**
   * The RECONCILING state indicates that some work is actively being done on
   * the node pool, such as upgrading node software. Details can be found in the
   * `statusMessage` field.
   */
  public const STATUS_RECONCILING = 'RECONCILING';
  /**
   * The STOPPING state indicates the node pool is being deleted.
   */
  public const STATUS_STOPPING = 'STOPPING';
  /**
   * The ERROR state indicates the node pool may be unusable. Details can be
   * found in the `statusMessage` field.
   */
  public const STATUS_ERROR = 'ERROR';
  protected $collection_key = 'locations';
  protected $autopilotConfigType = AutopilotConfig::class;
  protected $autopilotConfigDataType = '';
  protected $autoscalingType = NodePoolAutoscaling::class;
  protected $autoscalingDataType = '';
  protected $bestEffortProvisioningType = BestEffortProvisioning::class;
  protected $bestEffortProvisioningDataType = '';
  protected $conditionsType = StatusCondition::class;
  protected $conditionsDataType = 'array';
  protected $configType = NodeConfig::class;
  protected $configDataType = '';
  /**
   * This checksum is computed by the server based on the value of node pool
   * fields, and may be sent on update requests to ensure the client has an up-
   * to-date value before proceeding.
   *
   * @var string
   */
  public $etag;
  /**
   * The initial node count for the pool. You must ensure that your Compute
   * Engine [resource quota](https://cloud.google.com/compute/quotas) is
   * sufficient for this number of instances. You must also have available
   * firewall and routes quota.
   *
   * @var int
   */
  public $initialNodeCount;
  /**
   * Output only. The resource URLs of the [managed instance
   * groups](https://cloud.google.com/compute/docs/instance-groups/creating-
   * groups-of-managed-instances) associated with this node pool. During the
   * node pool blue-green upgrade operation, the URLs contain both blue and
   * green resources.
   *
   * @var string[]
   */
  public $instanceGroupUrls;
  /**
   * The list of Google Compute Engine
   * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
   * NodePool's nodes should be located. If this value is unspecified during
   * node pool creation, the
   * [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/referen
   * ce/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will
   * be used, instead. Warning: changing node pool locations will result in
   * nodes being added and/or removed.
   *
   * @var string[]
   */
  public $locations;
  protected $managementType = NodeManagement::class;
  protected $managementDataType = '';
  protected $maxPodsConstraintType = MaxPodsConstraint::class;
  protected $maxPodsConstraintDataType = '';
  /**
   * The name of the node pool.
   *
   * @var string
   */
  public $name;
  protected $networkConfigType = NodeNetworkConfig::class;
  protected $networkConfigDataType = '';
  protected $nodeDrainConfigType = NodeDrainConfig::class;
  protected $nodeDrainConfigDataType = '';
  protected $placementPolicyType = PlacementPolicy::class;
  protected $placementPolicyDataType = '';
  /**
   * Output only. The pod CIDR block size per node in this node pool.
   *
   * @var int
   */
  public $podIpv4CidrSize;
  protected $queuedProvisioningType = QueuedProvisioning::class;
  protected $queuedProvisioningDataType = '';
  /**
   * Output only. Server-defined URL for the resource.
   *
   * @var string
   */
  public $selfLink;
  /**
   * Output only. The status of the nodes in this pool instance.
   *
   * @var string
   */
  public $status;
  /**
   * Output only. Deprecated. Use conditions instead. Additional information
   * about the current status of this node pool instance, if available.
   *
   * @deprecated
   * @var string
   */
  public $statusMessage;
  protected $updateInfoType = UpdateInfo::class;
  protected $updateInfoDataType = '';
  protected $upgradeSettingsType = UpgradeSettings::class;
  protected $upgradeSettingsDataType = '';
  /**
   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
   * it defaults as described [here](https://cloud.google.com/kubernetes-
   * engine/versioning#specifying_node_version).
   *
   * @var string
   */
  public $version;

  /**
   * Specifies the autopilot configuration for this node pool. This field is
   * exclusively reserved for Cluster Autoscaler.
   *
   * @param AutopilotConfig $autopilotConfig
   */
  public function setAutopilotConfig(AutopilotConfig $autopilotConfig)
  {
    $this->autopilotConfig = $autopilotConfig;
  }
  /**
   * @return AutopilotConfig
   */
  public function getAutopilotConfig()
  {
    return $this->autopilotConfig;
  }
  /**
   * Autoscaler configuration for this NodePool. Autoscaler is enabled only if a
   * valid configuration is present.
   *
   * @param NodePoolAutoscaling $autoscaling
   */
  public function setAutoscaling(NodePoolAutoscaling $autoscaling)
  {
    $this->autoscaling = $autoscaling;
  }
  /**
   * @return NodePoolAutoscaling
   */
  public function getAutoscaling()
  {
    return $this->autoscaling;
  }
  /**
   * Enable best effort provisioning for nodes
   *
   * @param BestEffortProvisioning $bestEffortProvisioning
   */
  public function setBestEffortProvisioning(BestEffortProvisioning $bestEffortProvisioning)
  {
    $this->bestEffortProvisioning = $bestEffortProvisioning;
  }
  /**
   * @return BestEffortProvisioning
   */
  public function getBestEffortProvisioning()
  {
    return $this->bestEffortProvisioning;
  }
  /**
   * Which conditions caused the current node pool state.
   *
   * @param StatusCondition[] $conditions
   */
  public function setConditions($conditions)
  {
    $this->conditions = $conditions;
  }
  /**
   * @return StatusCondition[]
   */
  public function getConditions()
  {
    return $this->conditions;
  }
  /**
   * The node configuration of the pool.
   *
   * @param NodeConfig $config
   */
  public function setConfig(NodeConfig $config)
  {
    $this->config = $config;
  }
  /**
   * @return NodeConfig
   */
  public function getConfig()
  {
    return $this->config;
  }
  /**
   * This checksum is computed by the server based on the value of node pool
   * fields, and may be sent on update requests to ensure the client has an up-
   * to-date value before proceeding.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * The initial node count for the pool. You must ensure that your Compute
   * Engine [resource quota](https://cloud.google.com/compute/quotas) is
   * sufficient for this number of instances. You must also have available
   * firewall and routes quota.
   *
   * @param int $initialNodeCount
   */
  public function setInitialNodeCount($initialNodeCount)
  {
    $this->initialNodeCount = $initialNodeCount;
  }
  /**
   * @return int
   */
  public function getInitialNodeCount()
  {
    return $this->initialNodeCount;
  }
  /**
   * Output only. The resource URLs of the [managed instance
   * groups](https://cloud.google.com/compute/docs/instance-groups/creating-
   * groups-of-managed-instances) associated with this node pool. During the
   * node pool blue-green upgrade operation, the URLs contain both blue and
   * green resources.
   *
   * @param string[] $instanceGroupUrls
   */
  public function setInstanceGroupUrls($instanceGroupUrls)
  {
    $this->instanceGroupUrls = $instanceGroupUrls;
  }
  /**
   * @return string[]
   */
  public function getInstanceGroupUrls()
  {
    return $this->instanceGroupUrls;
  }
  /**
   * The list of Google Compute Engine
   * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
   * NodePool's nodes should be located. If this value is unspecified during
   * node pool creation, the
   * [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/referen
   * ce/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will
   * be used, instead. Warning: changing node pool locations will result in
   * nodes being added and/or removed.
   *
   * @param string[] $locations
   */
  public function setLocations($locations)
  {
    $this->locations = $locations;
  }
  /**
   * @return string[]
   */
  public function getLocations()
  {
    return $this->locations;
  }
  /**
   * NodeManagement configuration for this NodePool.
   *
   * @param NodeManagement $management
   */
  public function setManagement(NodeManagement $management)
  {
    $this->management = $management;
  }
  /**
   * @return NodeManagement
   */
  public function getManagement()
  {
    return $this->management;
  }
  /**
   * The constraint on the maximum number of pods that can be run simultaneously
   * on a node in the node pool.
   *
   * @param MaxPodsConstraint $maxPodsConstraint
   */
  public function setMaxPodsConstraint(MaxPodsConstraint $maxPodsConstraint)
  {
    $this->maxPodsConstraint = $maxPodsConstraint;
  }
  /**
   * @return MaxPodsConstraint
   */
  public function getMaxPodsConstraint()
  {
    return $this->maxPodsConstraint;
  }
  /**
   * The name of the node pool.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Networking configuration for this NodePool. If specified, it overrides the
   * cluster-level defaults.
   *
   * @param NodeNetworkConfig $networkConfig
   */
  public function setNetworkConfig(NodeNetworkConfig $networkConfig)
  {
    $this->networkConfig = $networkConfig;
  }
  /**
   * @return NodeNetworkConfig
   */
  public function getNetworkConfig()
  {
    return $this->networkConfig;
  }
  /**
   * Specifies the node drain configuration for this node pool.
   *
   * @param NodeDrainConfig $nodeDrainConfig
   */
  public function setNodeDrainConfig(NodeDrainConfig $nodeDrainConfig)
  {
    $this->nodeDrainConfig = $nodeDrainConfig;
  }
  /**
   * @return NodeDrainConfig
   */
  public function getNodeDrainConfig()
  {
    return $this->nodeDrainConfig;
  }
  /**
   * Specifies the node placement policy.
   *
   * @param PlacementPolicy $placementPolicy
   */
  public function setPlacementPolicy(PlacementPolicy $placementPolicy)
  {
    $this->placementPolicy = $placementPolicy;
  }
  /**
   * @return PlacementPolicy
   */
  public function getPlacementPolicy()
  {
    return $this->placementPolicy;
  }
  /**
   * Output only. The pod CIDR block size per node in this node pool.
   *
   * @param int $podIpv4CidrSize
   */
  public function setPodIpv4CidrSize($podIpv4CidrSize)
  {
    $this->podIpv4CidrSize = $podIpv4CidrSize;
  }
  /**
   * @return int
   */
  public function getPodIpv4CidrSize()
  {
    return $this->podIpv4CidrSize;
  }
  /**
   * Specifies the configuration of queued provisioning.
   *
   * @param QueuedProvisioning $queuedProvisioning
   */
  public function setQueuedProvisioning(QueuedProvisioning $queuedProvisioning)
  {
    $this->queuedProvisioning = $queuedProvisioning;
  }
  /**
   * @return QueuedProvisioning
   */
  public function getQueuedProvisioning()
  {
    return $this->queuedProvisioning;
  }
  /**
   * Output only. Server-defined URL for the resource.
   *
   * @param string $selfLink
   */
  public function setSelfLink($selfLink)
  {
    $this->selfLink = $selfLink;
  }
  /**
   * @return string
   */
  public function getSelfLink()
  {
    return $this->selfLink;
  }
  /**
   * Output only. The status of the nodes in this pool instance.
   *
   * Accepted values: STATUS_UNSPECIFIED, PROVISIONING, RUNNING,
   * RUNNING_WITH_ERROR, RECONCILING, STOPPING, ERROR
   *
   * @param self::STATUS_* $status
   */
  public function setStatus($status)
  {
    $this->status = $status;
  }
  /**
   * @return self::STATUS_*
   */
  public function getStatus()
  {
    return $this->status;
  }
  /**
   * Output only. Deprecated. Use conditions instead. Additional information
   * about the current status of this node pool instance, if available.
   *
   * @deprecated
   * @param string $statusMessage
   */
  public function setStatusMessage($statusMessage)
  {
    $this->statusMessage = $statusMessage;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getStatusMessage()
  {
    return $this->statusMessage;
  }
  /**
   * Output only. Update info contains relevant information during a node pool
   * update.
   *
   * @param UpdateInfo $updateInfo
   */
  public function setUpdateInfo(UpdateInfo $updateInfo)
  {
    $this->updateInfo = $updateInfo;
  }
  /**
   * @return UpdateInfo
   */
  public function getUpdateInfo()
  {
    return $this->updateInfo;
  }
  /**
   * Upgrade settings control disruption and speed of the upgrade.
   *
   * @param UpgradeSettings $upgradeSettings
   */
  public function setUpgradeSettings(UpgradeSettings $upgradeSettings)
  {
    $this->upgradeSettings = $upgradeSettings;
  }
  /**
   * @return UpgradeSettings
   */
  public function getUpgradeSettings()
  {
    return $this->upgradeSettings;
  }
  /**
   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
   * it defaults as described [here](https://cloud.google.com/kubernetes-
   * engine/versioning#specifying_node_version).
   *
   * @param string $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return string
   */
  public function getVersion()
  {
    return $this->version;
  }
}

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