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

class GoogleCloudApigeeV1Datastore extends \Google\Model
{
  /**
   * Output only. Datastore create time, in milliseconds since the epoch of
   * 1970-01-01T00:00:00Z
   *
   * @var string
   */
  public $createTime;
  protected $datastoreConfigType = GoogleCloudApigeeV1DatastoreConfig::class;
  protected $datastoreConfigDataType = '';
  /**
   * Required. Display name in UI
   *
   * @var string
   */
  public $displayName;
  /**
   * Output only. Datastore last update time, in milliseconds since the epoch of
   * 1970-01-01T00:00:00Z
   *
   * @var string
   */
  public $lastUpdateTime;
  /**
   * Output only. Organization that the datastore belongs to
   *
   * @var string
   */
  public $org;
  /**
   * Output only. Resource link of Datastore. Example:
   * `/organizations/{org}/analytics/datastores/{uuid}`
   *
   * @var string
   */
  public $self;
  /**
   * Destination storage type. Supported types `gcs` or `bigquery`.
   *
   * @var string
   */
  public $targetType;

  /**
   * Output only. Datastore create time, in milliseconds since the epoch of
   * 1970-01-01T00:00:00Z
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Datastore Configurations.
   *
   * @param GoogleCloudApigeeV1DatastoreConfig $datastoreConfig
   */
  public function setDatastoreConfig(GoogleCloudApigeeV1DatastoreConfig $datastoreConfig)
  {
    $this->datastoreConfig = $datastoreConfig;
  }
  /**
   * @return GoogleCloudApigeeV1DatastoreConfig
   */
  public function getDatastoreConfig()
  {
    return $this->datastoreConfig;
  }
  /**
   * Required. Display name in UI
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Output only. Datastore last update time, in milliseconds since the epoch of
   * 1970-01-01T00:00:00Z
   *
   * @param string $lastUpdateTime
   */
  public function setLastUpdateTime($lastUpdateTime)
  {
    $this->lastUpdateTime = $lastUpdateTime;
  }
  /**
   * @return string
   */
  public function getLastUpdateTime()
  {
    return $this->lastUpdateTime;
  }
  /**
   * Output only. Organization that the datastore belongs to
   *
   * @param string $org
   */
  public function setOrg($org)
  {
    $this->org = $org;
  }
  /**
   * @return string
   */
  public function getOrg()
  {
    return $this->org;
  }
  /**
   * Output only. Resource link of Datastore. Example:
   * `/organizations/{org}/analytics/datastores/{uuid}`
   *
   * @param string $self
   */
  public function setSelf($self)
  {
    $this->self = $self;
  }
  /**
   * @return string
   */
  public function getSelf()
  {
    return $this->self;
  }
  /**
   * Destination storage type. Supported types `gcs` or `bigquery`.
   *
   * @param string $targetType
   */
  public function setTargetType($targetType)
  {
    $this->targetType = $targetType;
  }
  /**
   * @return string
   */
  public function getTargetType()
  {
    return $this->targetType;
  }
}

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