📂 File Browser

AgentAI/vendor/google/apiclient-services/src/GKEOnPrem
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Authorization.php
▶ Open 📄 View Source
🐘 BareMetalAdminApiServerArgument.php
▶ Open 📄 View Source
🐘 BareMetalAdminBgpLbConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminBgpPeerConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminCluster.php
▶ Open 📄 View Source
🐘 BareMetalAdminClusterOperationsConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminControlPlaneConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminControlPlaneNodePoolConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminDrainedMachine.php
▶ Open 📄 View Source
🐘 BareMetalAdminDrainingMachine.php
▶ Open 📄 View Source
🐘 BareMetalAdminIslandModeCidrConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminLoadBalancerAddressPool.php
▶ Open 📄 View Source
🐘 BareMetalAdminLoadBalancerConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminLoadBalancerNodePoolConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminMachineDrainStatus.php
▶ Open 📄 View Source
🐘 BareMetalAdminMaintenanceConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminMaintenanceStatus.php
▶ Open 📄 View Source
🐘 BareMetalAdminManualLbConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminMultipleNetworkInterfacesConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminNetworkConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminNodeAccessConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminOsEnvironmentConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminPortConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminProxyConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminSecurityConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminStorageConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminVipConfig.php
▶ Open 📄 View Source
🐘 BareMetalAdminWorkloadNodeConfig.php
▶ Open 📄 View Source
🐘 BareMetalApiServerArgument.php
▶ Open 📄 View Source
🐘 BareMetalBgpLbConfig.php
▶ Open 📄 View Source
🐘 BareMetalBgpPeerConfig.php
▶ Open 📄 View Source
🐘 BareMetalCluster.php
▶ Open 📄 View Source
🐘 BareMetalClusterOperationsConfig.php
▶ Open 📄 View Source
🐘 BareMetalClusterUpgradePolicy.php
▶ Open 📄 View Source
🐘 BareMetalControlPlaneConfig.php
▶ Open 📄 View Source
🐘 BareMetalControlPlaneNodePoolConfig.php
▶ Open 📄 View Source
🐘 BareMetalDrainedMachine.php
▶ Open 📄 View Source
🐘 BareMetalDrainingMachine.php
▶ Open 📄 View Source
🐘 BareMetalIslandModeCidrConfig.php
▶ Open 📄 View Source
🐘 BareMetalKubeletConfig.php
▶ Open 📄 View Source
🐘 BareMetalLoadBalancerAddressPool.php
▶ Open 📄 View Source
🐘 BareMetalLoadBalancerConfig.php
▶ Open 📄 View Source
🐘 BareMetalLoadBalancerNodePoolConfig.php
▶ Open 📄 View Source
🐘 BareMetalLvpConfig.php
▶ Open 📄 View Source
🐘 BareMetalLvpShareConfig.php
▶ Open 📄 View Source
🐘 BareMetalMachineDrainStatus.php
▶ Open 📄 View Source
🐘 BareMetalMaintenanceConfig.php
▶ Open 📄 View Source
🐘 BareMetalMaintenanceStatus.php
▶ Open 📄 View Source
🐘 BareMetalManualLbConfig.php
▶ Open 📄 View Source
🐘 BareMetalMetalLbConfig.php
▶ Open 📄 View Source
🐘 BareMetalMultipleNetworkInterfacesConfig.php
▶ Open 📄 View Source
🐘 BareMetalNetworkConfig.php
▶ Open 📄 View Source
🐘 BareMetalNodeAccessConfig.php
▶ Open 📄 View Source
🐘 BareMetalNodeConfig.php
▶ Open 📄 View Source
🐘 BareMetalNodePool.php
▶ Open 📄 View Source
🐘 BareMetalNodePoolConfig.php
▶ Open 📄 View Source
🐘 BareMetalNodePoolUpgradePolicy.php
▶ Open 📄 View Source
🐘 BareMetalOsEnvironmentConfig.php
▶ Open 📄 View Source
🐘 BareMetalParallelUpgradeConfig.php
▶ Open 📄 View Source
🐘 BareMetalPortConfig.php
▶ Open 📄 View Source
🐘 BareMetalProxyConfig.php
▶ Open 📄 View Source
🐘 BareMetalSecurityConfig.php
▶ Open 📄 View Source
🐘 BareMetalSrIovConfig.php
▶ Open 📄 View Source
🐘 BareMetalStorageConfig.php
▶ Open 📄 View Source
🐘 BareMetalVersionInfo.php
▶ Open 📄 View Source
🐘 BareMetalVipConfig.php
▶ Open 📄 View Source
🐘 BareMetalWorkloadNodeConfig.php
▶ Open 📄 View Source
🐘 BinaryAuthorization.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClusterUser.php
▶ Open 📄 View Source
🐘 EnrollBareMetalAdminClusterRequest.php
▶ Open 📄 View Source
🐘 EnrollBareMetalClusterRequest.php
▶ Open 📄 View Source
🐘 EnrollBareMetalNodePoolRequest.php
▶ Open 📄 View Source
🐘 EnrollBareMetalStandaloneNodePoolRequest.php
▶ Open 📄 View Source
🐘 EnrollVmwareAdminClusterRequest.php
▶ Open 📄 View Source
🐘 EnrollVmwareClusterRequest.php
▶ Open 📄 View Source
🐘 EnrollVmwareNodePoolRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Fleet.php
▶ Open 📄 View Source
🐘 GkeonpremEmpty.php
▶ Open 📄 View Source
🐘 ListBareMetalAdminClustersResponse.php
▶ Open 📄 View Source
🐘 ListBareMetalClustersResponse.php
▶ Open 📄 View Source
🐘 ListBareMetalNodePoolsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListVmwareAdminClustersResponse.php
▶ Open 📄 View Source
🐘 ListVmwareClustersResponse.php
▶ Open 📄 View Source
🐘 ListVmwareNodePoolsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 NodeTaint.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 OperationProgress.php
▶ Open 📄 View Source
🐘 OperationStage.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 QueryBareMetalAdminVersionConfigResponse.php
▶ Open 📄 View Source
🐘 QueryBareMetalVersionConfigResponse.php
▶ Open 📄 View Source
🐘 QueryVmwareVersionConfigResponse.php
▶ Open 📄 View Source
🐘 ResourceCondition.php
▶ Open 📄 View Source
🐘 ResourceStatus.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 UpgradeDependency.php
▶ Open 📄 View Source
🐘 ValidationCheck.php
▶ Open 📄 View Source
🐘 ValidationCheckResult.php
▶ Open 📄 View Source
🐘 ValidationCheckStatus.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 Versions.php
▶ Open 📄 View Source
🐘 VmwareAAGConfig.php
▶ Open 📄 View Source
🐘 VmwareAddressPool.php
▶ Open 📄 View Source
🐘 VmwareAdminAddonNodeConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminAuthorizationConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminCluster.php
▶ Open 📄 View Source
🐘 VmwareAdminControlPlaneNodeConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminF5BigIpConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminHAControlPlaneConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminLoadBalancerConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminManualLbConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminMetalLbConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminNetworkConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminPreparedSecretsConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminPrivateRegistryConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminProxy.php
▶ Open 📄 View Source
🐘 VmwareAdminSeesawConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminVCenterConfig.php
▶ Open 📄 View Source
🐘 VmwareAdminVipConfig.php
▶ Open 📄 View Source
🐘 VmwareAutoRepairConfig.php
▶ Open 📄 View Source
🐘 VmwareAutoResizeConfig.php
▶ Open 📄 View Source
🐘 VmwareBundleConfig.php
▶ Open 📄 View Source
🐘 VmwareCluster.php
▶ Open 📄 View Source
🐘 VmwareClusterUpgradePolicy.php
▶ Open 📄 View Source
🐘 VmwareControlPlaneNodeConfig.php
▶ Open 📄 View Source
🐘 VmwareControlPlaneV2Config.php
▶ Open 📄 View Source
🐘 VmwareControlPlaneVsphereConfig.php
▶ Open 📄 View Source
🐘 VmwareDataplaneV2Config.php
▶ Open 📄 View Source
🐘 VmwareDhcpIpConfig.php
▶ Open 📄 View Source
🐘 VmwareF5BigIpConfig.php
▶ Open 📄 View Source
🐘 VmwareHostConfig.php
▶ Open 📄 View Source
🐘 VmwareHostIp.php
▶ Open 📄 View Source
🐘 VmwareIpBlock.php
▶ Open 📄 View Source
🐘 VmwareLoadBalancerConfig.php
▶ Open 📄 View Source
🐘 VmwareManualLbConfig.php
▶ Open 📄 View Source
🐘 VmwareMetalLbConfig.php
▶ Open 📄 View Source
🐘 VmwareNetworkConfig.php
▶ Open 📄 View Source
🐘 VmwareNodeConfig.php
▶ Open 📄 View Source
🐘 VmwareNodePool.php
▶ Open 📄 View Source
🐘 VmwareNodePoolAutoscalingConfig.php
▶ Open 📄 View Source
🐘 VmwarePlatformConfig.php
▶ Open 📄 View Source
🐘 VmwareSeesawConfig.php
▶ Open 📄 View Source
🐘 VmwareStaticIpConfig.php
▶ Open 📄 View Source
🐘 VmwareStorageConfig.php
▶ Open 📄 View Source
🐘 VmwareVCenterConfig.php
▶ Open 📄 View Source
🐘 VmwareVersionInfo.php
▶ Open 📄 View Source
🐘 VmwareVipConfig.php
▶ Open 📄 View Source
🐘 VmwareVsphereConfig.php
▶ Open 📄 View Source
🐘 VmwareVsphereTag.php
▶ Open 📄 View Source

📄 Source: BareMetalCluster.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\GKEOnPrem;

class BareMetalCluster extends \Google\Model
{
  /**
   * Not set.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The PROVISIONING state indicates the cluster is being created.
   */
  public const STATE_PROVISIONING = 'PROVISIONING';
  /**
   * The RUNNING state indicates the cluster has been created and is fully
   * usable.
   */
  public const STATE_RUNNING = 'RUNNING';
  /**
   * The RECONCILING state indicates that the cluster is being updated. It
   * remains available, but potentially with degraded performance.
   */
  public const STATE_RECONCILING = 'RECONCILING';
  /**
   * The STOPPING state indicates the cluster is being deleted.
   */
  public const STATE_STOPPING = 'STOPPING';
  /**
   * The ERROR state indicates the cluster is in a broken unrecoverable state.
   */
  public const STATE_ERROR = 'ERROR';
  /**
   * The DEGRADED state indicates the cluster requires user action to restore
   * full functionality.
   */
  public const STATE_DEGRADED = 'DEGRADED';
  /**
   * Required. The admin cluster this bare metal user cluster belongs to. This
   * is the full resource name of the admin cluster's fleet membership.
   *
   * @var string
   */
  public $adminClusterMembership;
  /**
   * Output only. The resource name of the bare metal admin cluster managing
   * this user cluster.
   *
   * @var string
   */
  public $adminClusterName;
  /**
   * Annotations on the bare metal user cluster. This field has the same
   * restrictions as Kubernetes annotations. The total size of all keys and
   * values combined is limited to 256k. Key can have 2 segments: prefix
   * (optional) and name (required), separated by a slash (/). Prefix must be a
   * DNS subdomain. Name must be 63 characters or less, begin and end with
   * alphanumerics, with dashes (-), underscores (_), dots (.), and
   * alphanumerics between.
   *
   * @var string[]
   */
  public $annotations;
  /**
   * Required. The Anthos clusters on bare metal version for your user cluster.
   *
   * @var string
   */
  public $bareMetalVersion;
  protected $binaryAuthorizationType = BinaryAuthorization::class;
  protected $binaryAuthorizationDataType = '';
  protected $clusterOperationsType = BareMetalClusterOperationsConfig::class;
  protected $clusterOperationsDataType = '';
  protected $controlPlaneType = BareMetalControlPlaneConfig::class;
  protected $controlPlaneDataType = '';
  /**
   * Output only. The time when the bare metal user cluster was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. The time when the bare metal user cluster was deleted. If the
   * resource is not deleted, this must be empty
   *
   * @var string
   */
  public $deleteTime;
  /**
   * A human readable description of this bare metal user cluster.
   *
   * @var string
   */
  public $description;
  /**
   * Output only. The IP address of the bare metal user cluster's API server.
   *
   * @var string
   */
  public $endpoint;
  /**
   * Output only. This checksum is computed by the server based on the value of
   * other fields, and may be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding. Allows clients to perform
   * consistent read-modify-writes through optimistic concurrency control.
   *
   * @var string
   */
  public $etag;
  protected $fleetType = Fleet::class;
  protected $fleetDataType = '';
  protected $loadBalancerType = BareMetalLoadBalancerConfig::class;
  protected $loadBalancerDataType = '';
  /**
   * Output only. The object name of the bare metal user cluster custom resource
   * on the associated admin cluster. This field is used to support conflicting
   * names when enrolling existing clusters to the API. When used as a part of
   * cluster enrollment, this field will differ from the name in the resource
   * name. For new clusters, this field will match the user provided cluster
   * name and be visible in the last component of the resource name. It is not
   * modifiable. When the local name and cluster name differ, the local name is
   * used in the admin cluster controller logs. You use the cluster name when
   * accessing the cluster using bmctl and kubectl.
   *
   * @var string
   */
  public $localName;
  /**
   * Output only. The namespace of the cluster.
   *
   * @var string
   */
  public $localNamespace;
  protected $maintenanceConfigType = BareMetalMaintenanceConfig::class;
  protected $maintenanceConfigDataType = '';
  protected $maintenanceStatusType = BareMetalMaintenanceStatus::class;
  protected $maintenanceStatusDataType = '';
  /**
   * Immutable. The bare metal user cluster resource name.
   *
   * @var string
   */
  public $name;
  protected $networkConfigType = BareMetalNetworkConfig::class;
  protected $networkConfigDataType = '';
  protected $nodeAccessConfigType = BareMetalNodeAccessConfig::class;
  protected $nodeAccessConfigDataType = '';
  protected $nodeConfigType = BareMetalWorkloadNodeConfig::class;
  protected $nodeConfigDataType = '';
  protected $osEnvironmentConfigType = BareMetalOsEnvironmentConfig::class;
  protected $osEnvironmentConfigDataType = '';
  protected $proxyType = BareMetalProxyConfig::class;
  protected $proxyDataType = '';
  /**
   * Output only. If set, there are currently changes in flight to the bare
   * metal user cluster.
   *
   * @var bool
   */
  public $reconciling;
  protected $securityConfigType = BareMetalSecurityConfig::class;
  protected $securityConfigDataType = '';
  /**
   * Output only. The current state of the bare metal user cluster.
   *
   * @var string
   */
  public $state;
  protected $statusType = ResourceStatus::class;
  protected $statusDataType = '';
  protected $storageType = BareMetalStorageConfig::class;
  protected $storageDataType = '';
  /**
   * Output only. The unique identifier of the bare metal user cluster.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. The time when the bare metal user cluster was last updated.
   *
   * @var string
   */
  public $updateTime;
  protected $upgradePolicyType = BareMetalClusterUpgradePolicy::class;
  protected $upgradePolicyDataType = '';
  protected $validationCheckType = ValidationCheck::class;
  protected $validationCheckDataType = '';

  /**
   * Required. The admin cluster this bare metal user cluster belongs to. This
   * is the full resource name of the admin cluster's fleet membership.
   *
   * @param string $adminClusterMembership
   */
  public function setAdminClusterMembership($adminClusterMembership)
  {
    $this->adminClusterMembership = $adminClusterMembership;
  }
  /**
   * @return string
   */
  public function getAdminClusterMembership()
  {
    return $this->adminClusterMembership;
  }
  /**
   * Output only. The resource name of the bare metal admin cluster managing
   * this user cluster.
   *
   * @param string $adminClusterName
   */
  public function setAdminClusterName($adminClusterName)
  {
    $this->adminClusterName = $adminClusterName;
  }
  /**
   * @return string
   */
  public function getAdminClusterName()
  {
    return $this->adminClusterName;
  }
  /**
   * Annotations on the bare metal user cluster. This field has the same
   * restrictions as Kubernetes annotations. The total size of all keys and
   * values combined is limited to 256k. Key can have 2 segments: prefix
   * (optional) and name (required), separated by a slash (/). Prefix must be a
   * DNS subdomain. Name must be 63 characters or less, begin and end with
   * alphanumerics, with dashes (-), underscores (_), dots (.), and
   * alphanumerics between.
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Required. The Anthos clusters on bare metal version for your user cluster.
   *
   * @param string $bareMetalVersion
   */
  public function setBareMetalVersion($bareMetalVersion)
  {
    $this->bareMetalVersion = $bareMetalVersion;
  }
  /**
   * @return string
   */
  public function getBareMetalVersion()
  {
    return $this->bareMetalVersion;
  }
  /**
   * Binary Authorization related configurations.
   *
   * @param BinaryAuthorization $binaryAuthorization
   */
  public function setBinaryAuthorization(BinaryAuthorization $binaryAuthorization)
  {
    $this->binaryAuthorization = $binaryAuthorization;
  }
  /**
   * @return BinaryAuthorization
   */
  public function getBinaryAuthorization()
  {
    return $this->binaryAuthorization;
  }
  /**
   * Cluster operations configuration.
   *
   * @param BareMetalClusterOperationsConfig $clusterOperations
   */
  public function setClusterOperations(BareMetalClusterOperationsConfig $clusterOperations)
  {
    $this->clusterOperations = $clusterOperations;
  }
  /**
   * @return BareMetalClusterOperationsConfig
   */
  public function getClusterOperations()
  {
    return $this->clusterOperations;
  }
  /**
   * Required. Control plane configuration.
   *
   * @param BareMetalControlPlaneConfig $controlPlane
   */
  public function setControlPlane(BareMetalControlPlaneConfig $controlPlane)
  {
    $this->controlPlane = $controlPlane;
  }
  /**
   * @return BareMetalControlPlaneConfig
   */
  public function getControlPlane()
  {
    return $this->controlPlane;
  }
  /**
   * Output only. The time when the bare metal user cluster was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The time when the bare metal user cluster was deleted. If the
   * resource is not deleted, this must be empty
   *
   * @param string $deleteTime
   */
  public function setDeleteTime($deleteTime)
  {
    $this->deleteTime = $deleteTime;
  }
  /**
   * @return string
   */
  public function getDeleteTime()
  {
    return $this->deleteTime;
  }
  /**
   * A human readable description of this bare metal user cluster.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Output only. The IP address of the bare metal user cluster's API server.
   *
   * @param string $endpoint
   */
  public function setEndpoint($endpoint)
  {
    $this->endpoint = $endpoint;
  }
  /**
   * @return string
   */
  public function getEndpoint()
  {
    return $this->endpoint;
  }
  /**
   * Output only. This checksum is computed by the server based on the value of
   * other fields, and may be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding. Allows clients to perform
   * consistent read-modify-writes through optimistic concurrency control.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. Fleet configuration for the cluster.
   *
   * @param Fleet $fleet
   */
  public function setFleet(Fleet $fleet)
  {
    $this->fleet = $fleet;
  }
  /**
   * @return Fleet
   */
  public function getFleet()
  {
    return $this->fleet;
  }
  /**
   * Required. Load balancer configuration.
   *
   * @param BareMetalLoadBalancerConfig $loadBalancer
   */
  public function setLoadBalancer(BareMetalLoadBalancerConfig $loadBalancer)
  {
    $this->loadBalancer = $loadBalancer;
  }
  /**
   * @return BareMetalLoadBalancerConfig
   */
  public function getLoadBalancer()
  {
    return $this->loadBalancer;
  }
  /**
   * Output only. The object name of the bare metal user cluster custom resource
   * on the associated admin cluster. This field is used to support conflicting
   * names when enrolling existing clusters to the API. When used as a part of
   * cluster enrollment, this field will differ from the name in the resource
   * name. For new clusters, this field will match the user provided cluster
   * name and be visible in the last component of the resource name. It is not
   * modifiable. When the local name and cluster name differ, the local name is
   * used in the admin cluster controller logs. You use the cluster name when
   * accessing the cluster using bmctl and kubectl.
   *
   * @param string $localName
   */
  public function setLocalName($localName)
  {
    $this->localName = $localName;
  }
  /**
   * @return string
   */
  public function getLocalName()
  {
    return $this->localName;
  }
  /**
   * Output only. The namespace of the cluster.
   *
   * @param string $localNamespace
   */
  public function setLocalNamespace($localNamespace)
  {
    $this->localNamespace = $localNamespace;
  }
  /**
   * @return string
   */
  public function getLocalNamespace()
  {
    return $this->localNamespace;
  }
  /**
   * Maintenance configuration.
   *
   * @param BareMetalMaintenanceConfig $maintenanceConfig
   */
  public function setMaintenanceConfig(BareMetalMaintenanceConfig $maintenanceConfig)
  {
    $this->maintenanceConfig = $maintenanceConfig;
  }
  /**
   * @return BareMetalMaintenanceConfig
   */
  public function getMaintenanceConfig()
  {
    return $this->maintenanceConfig;
  }
  /**
   * Output only. Status of on-going maintenance tasks.
   *
   * @param BareMetalMaintenanceStatus $maintenanceStatus
   */
  public function setMaintenanceStatus(BareMetalMaintenanceStatus $maintenanceStatus)
  {
    $this->maintenanceStatus = $maintenanceStatus;
  }
  /**
   * @return BareMetalMaintenanceStatus
   */
  public function getMaintenanceStatus()
  {
    return $this->maintenanceStatus;
  }
  /**
   * Immutable. The bare metal user cluster resource name.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Required. Network configuration.
   *
   * @param BareMetalNetworkConfig $networkConfig
   */
  public function setNetworkConfig(BareMetalNetworkConfig $networkConfig)
  {
    $this->networkConfig = $networkConfig;
  }
  /**
   * @return BareMetalNetworkConfig
   */
  public function getNetworkConfig()
  {
    return $this->networkConfig;
  }
  /**
   * Node access related configurations.
   *
   * @param BareMetalNodeAccessConfig $nodeAccessConfig
   */
  public function setNodeAccessConfig(BareMetalNodeAccessConfig $nodeAccessConfig)
  {
    $this->nodeAccessConfig = $nodeAccessConfig;
  }
  /**
   * @return BareMetalNodeAccessConfig
   */
  public function getNodeAccessConfig()
  {
    return $this->nodeAccessConfig;
  }
  /**
   * Workload node configuration.
   *
   * @param BareMetalWorkloadNodeConfig $nodeConfig
   */
  public function setNodeConfig(BareMetalWorkloadNodeConfig $nodeConfig)
  {
    $this->nodeConfig = $nodeConfig;
  }
  /**
   * @return BareMetalWorkloadNodeConfig
   */
  public function getNodeConfig()
  {
    return $this->nodeConfig;
  }
  /**
   * OS environment related configurations.
   *
   * @param BareMetalOsEnvironmentConfig $osEnvironmentConfig
   */
  public function setOsEnvironmentConfig(BareMetalOsEnvironmentConfig $osEnvironmentConfig)
  {
    $this->osEnvironmentConfig = $osEnvironmentConfig;
  }
  /**
   * @return BareMetalOsEnvironmentConfig
   */
  public function getOsEnvironmentConfig()
  {
    return $this->osEnvironmentConfig;
  }
  /**
   * Proxy configuration.
   *
   * @param BareMetalProxyConfig $proxy
   */
  public function setProxy(BareMetalProxyConfig $proxy)
  {
    $this->proxy = $proxy;
  }
  /**
   * @return BareMetalProxyConfig
   */
  public function getProxy()
  {
    return $this->proxy;
  }
  /**
   * Output only. If set, there are currently changes in flight to the bare
   * metal user cluster.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * Security related setting configuration.
   *
   * @param BareMetalSecurityConfig $securityConfig
   */
  public function setSecurityConfig(BareMetalSecurityConfig $securityConfig)
  {
    $this->securityConfig = $securityConfig;
  }
  /**
   * @return BareMetalSecurityConfig
   */
  public function getSecurityConfig()
  {
    return $this->securityConfig;
  }
  /**
   * Output only. The current state of the bare metal user cluster.
   *
   * Accepted values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
   * STOPPING, ERROR, DEGRADED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Detailed cluster status.
   *
   * @param ResourceStatus $status
   */
  public function setStatus(ResourceStatus $status)
  {
    $this->status = $status;
  }
  /**
   * @return ResourceStatus
   */
  public function getStatus()
  {
    return $this->status;
  }
  /**
   * Required. Storage configuration.
   *
   * @param BareMetalStorageConfig $storage
   */
  public function setStorage(BareMetalStorageConfig $storage)
  {
    $this->storage = $storage;
  }
  /**
   * @return BareMetalStorageConfig
   */
  public function getStorage()
  {
    return $this->storage;
  }
  /**
   * Output only. The unique identifier of the bare metal user cluster.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. The time when the bare metal user cluster was last updated.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
  /**
   * The cluster upgrade policy.
   *
   * @param BareMetalClusterUpgradePolicy $upgradePolicy
   */
  public function setUpgradePolicy(BareMetalClusterUpgradePolicy $upgradePolicy)
  {
    $this->upgradePolicy = $upgradePolicy;
  }
  /**
   * @return BareMetalClusterUpgradePolicy
   */
  public function getUpgradePolicy()
  {
    return $this->upgradePolicy;
  }
  /**
   * Output only. The result of the preflight check.
   *
   * @param ValidationCheck $validationCheck
   */
  public function setValidationCheck(ValidationCheck $validationCheck)
  {
    $this->validationCheck = $validationCheck;
  }
  /**
   * @return ValidationCheck
   */
  public function getValidationCheck()
  {
    return $this->validationCheck;
  }
}

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