<?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\CloudDataplex;

class GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources extends \Google\Model
{
  /**
   * Optional. Size in GB of the disk. Default is 100 GB.
   *
   * @var int
   */
  public $diskSizeGb;
  /**
   * Optional. Max configurable nodes. If max_node_count > node_count, then
   * auto-scaling is enabled.
   *
   * @var int
   */
  public $maxNodeCount;
  /**
   * Optional. Total number of nodes in the sessions created for this
   * environment.
   *
   * @var int
   */
  public $nodeCount;

  /**
   * Optional. Size in GB of the disk. Default is 100 GB.
   *
   * @param int $diskSizeGb
   */
  public function setDiskSizeGb($diskSizeGb)
  {
    $this->diskSizeGb = $diskSizeGb;
  }
  /**
   * @return int
   */
  public function getDiskSizeGb()
  {
    return $this->diskSizeGb;
  }
  /**
   * Optional. Max configurable nodes. If max_node_count > node_count, then
   * auto-scaling is enabled.
   *
   * @param int $maxNodeCount
   */
  public function setMaxNodeCount($maxNodeCount)
  {
    $this->maxNodeCount = $maxNodeCount;
  }
  /**
   * @return int
   */
  public function getMaxNodeCount()
  {
    return $this->maxNodeCount;
  }
  /**
   * Optional. Total number of nodes in the sessions created for this
   * environment.
   *
   * @param int $nodeCount
   */
  public function setNodeCount($nodeCount)
  {
    $this->nodeCount = $nodeCount;
  }
  /**
   * @return int
   */
  public function getNodeCount()
  {
    return $this->nodeCount;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources');
