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

class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId extends \Google\Model
{
  /**
   * Disable validation warnings
   */
  public const PROVIDER_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_GCP = 'GCP';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_AWS = 'AWS';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_AZURE = 'AZURE';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_ONPREM = 'ONPREM';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_SELFMANAGED = 'SELFMANAGED';
  /**
   * Disable validation warnings
   */
  public const PROVIDER_PROVIDER_OTHER = 'PROVIDER_OTHER';
  /**
   * Required. Disable validation warnings
   *
   * @var string
   */
  public $provider;
  /**
   * Optional. Disable validation warnings
   *
   * @var string
   */
  public $providerDescription;
  /**
   * Required. Disable validation warnings
   *
   * @var string
   */
  public $resourceType;
  /**
   * Required. Disable validation warnings
   *
   * @var string
   */
  public $uniqueId;

  /**
   * Required. Disable validation warnings
   *
   * Accepted values: PROVIDER_UNSPECIFIED, GCP, AWS, AZURE, ONPREM,
   * SELFMANAGED, PROVIDER_OTHER
   *
   * @param self::PROVIDER_* $provider
   */
  public function setProvider($provider)
  {
    $this->provider = $provider;
  }
  /**
   * @return self::PROVIDER_*
   */
  public function getProvider()
  {
    return $this->provider;
  }
  /**
   * Optional. Disable validation warnings
   *
   * @param string $providerDescription
   */
  public function setProviderDescription($providerDescription)
  {
    $this->providerDescription = $providerDescription;
  }
  /**
   * @return string
   */
  public function getProviderDescription()
  {
    return $this->providerDescription;
  }
  /**
   * Required. Disable validation warnings
   *
   * @param string $resourceType
   */
  public function setResourceType($resourceType)
  {
    $this->resourceType = $resourceType;
  }
  /**
   * @return string
   */
  public function getResourceType()
  {
    return $this->resourceType;
  }
  /**
   * Required. Disable validation warnings
   *
   * @param string $uniqueId
   */
  public function setUniqueId($uniqueId)
  {
    $this->uniqueId = $uniqueId;
  }
  /**
   * @return string
   */
  public function getUniqueId()
  {
    return $this->uniqueId;
  }
}

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