📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Drive
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 About.php
▶ Open 📄 View Source
🐘 AboutDriveThemes.php
▶ Open 📄 View Source
🐘 AboutStorageQuota.php
▶ Open 📄 View Source
🐘 AboutTeamDriveThemes.php
▶ Open 📄 View Source
🐘 AccessProposal.php
▶ Open 📄 View Source
🐘 AccessProposalRoleAndView.php
▶ Open 📄 View Source
🐘 App.php
▶ Open 📄 View Source
🐘 AppIcons.php
▶ Open 📄 View Source
🐘 AppList.php
▶ Open 📄 View Source
🐘 Approval.php
▶ Open 📄 View Source
🐘 ApprovalList.php
▶ Open 📄 View Source
🐘 Change.php
▶ Open 📄 View Source
🐘 ChangeList.php
▶ Open 📄 View Source
🐘 Channel.php
▶ Open 📄 View Source
🐘 ClientEncryptionDetails.php
▶ Open 📄 View Source
🐘 Comment.php
▶ Open 📄 View Source
🐘 CommentList.php
▶ Open 📄 View Source
🐘 CommentQuotedFileContent.php
▶ Open 📄 View Source
🐘 ContentRestriction.php
▶ Open 📄 View Source
🐘 DecryptionMetadata.php
▶ Open 📄 View Source
🐘 DownloadRestriction.php
▶ Open 📄 View Source
🐘 DownloadRestrictionsMetadata.php
▶ Open 📄 View Source
🐘 Drive.php
▶ Open 📄 View Source
🐘 DriveBackgroundImageFile.php
▶ Open 📄 View Source
🐘 DriveCapabilities.php
▶ Open 📄 View Source
🐘 DriveFile.php
▶ Open 📄 View Source
🐘 DriveFileCapabilities.php
▶ Open 📄 View Source
🐘 DriveFileContentHints.php
▶ Open 📄 View Source
🐘 DriveFileContentHintsThumbnail.php
▶ Open 📄 View Source
🐘 DriveFileImageMediaMetadata.php
▶ Open 📄 View Source
🐘 DriveFileImageMediaMetadataLocation.php
▶ Open 📄 View Source
🐘 DriveFileLabelInfo.php
▶ Open 📄 View Source
🐘 DriveFileLinkShareMetadata.php
▶ Open 📄 View Source
🐘 DriveFileShortcutDetails.php
▶ Open 📄 View Source
🐘 DriveFileVideoMediaMetadata.php
▶ Open 📄 View Source
🐘 DriveList.php
▶ Open 📄 View Source
🐘 DriveRestrictions.php
▶ Open 📄 View Source
🐘 FileList.php
▶ Open 📄 View Source
🐘 GenerateCseTokenResponse.php
▶ Open 📄 View Source
🐘 GeneratedIds.php
▶ Open 📄 View Source
🐘 Label.php
▶ Open 📄 View Source
🐘 LabelField.php
▶ Open 📄 View Source
🐘 LabelFieldModification.php
▶ Open 📄 View Source
🐘 LabelList.php
▶ Open 📄 View Source
🐘 LabelModification.php
▶ Open 📄 View Source
🐘 ListAccessProposalsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ModifyLabelsRequest.php
▶ Open 📄 View Source
🐘 ModifyLabelsResponse.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Permission.php
▶ Open 📄 View Source
🐘 PermissionList.php
▶ Open 📄 View Source
🐘 PermissionPermissionDetails.php
▶ Open 📄 View Source
🐘 PermissionTeamDrivePermissionDetails.php
▶ Open 📄 View Source
🐘 Reply.php
▶ Open 📄 View Source
🐘 ReplyList.php
▶ Open 📄 View Source
🐘 ResolveAccessProposalRequest.php
▶ Open 📄 View Source
🐘 ReviewerResponse.php
▶ Open 📄 View Source
🐘 Revision.php
▶ Open 📄 View Source
🐘 RevisionList.php
▶ Open 📄 View Source
🐘 StartPageToken.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TeamDrive.php
▶ Open 📄 View Source
🐘 TeamDriveBackgroundImageFile.php
▶ Open 📄 View Source
🐘 TeamDriveCapabilities.php
▶ Open 📄 View Source
🐘 TeamDriveList.php
▶ Open 📄 View Source
🐘 TeamDriveRestrictions.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source

📄 Source: Change.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\Drive;

class Change extends \Google\Model
{
  /**
   * The type of the change. Possible values are `file` and `drive`.
   *
   * @var string
   */
  public $changeType;
  protected $driveType = Drive::class;
  protected $driveDataType = '';
  /**
   * The ID of the shared drive associated with this change.
   *
   * @var string
   */
  public $driveId;
  protected $fileType = DriveFile::class;
  protected $fileDataType = '';
  /**
   * The ID of the file which has changed.
   *
   * @var string
   */
  public $fileId;
  /**
   * Identifies what kind of resource this is. Value: the fixed string
   * `"drive#change"`.
   *
   * @var string
   */
  public $kind;
  /**
   * Whether the file or shared drive has been removed from this list of
   * changes, for example by deletion or loss of access.
   *
   * @var bool
   */
  public $removed;
  protected $teamDriveType = TeamDrive::class;
  protected $teamDriveDataType = '';
  /**
   * Deprecated: Use `driveId` instead.
   *
   * @deprecated
   * @var string
   */
  public $teamDriveId;
  /**
   * The time of this change (RFC 3339 date-time).
   *
   * @var string
   */
  public $time;
  /**
   * Deprecated: Use `changeType` instead.
   *
   * @deprecated
   * @var string
   */
  public $type;

  /**
   * The type of the change. Possible values are `file` and `drive`.
   *
   * @param string $changeType
   */
  public function setChangeType($changeType)
  {
    $this->changeType = $changeType;
  }
  /**
   * @return string
   */
  public function getChangeType()
  {
    return $this->changeType;
  }
  /**
   * The updated state of the shared drive. Present if the changeType is drive,
   * the user is still a member of the shared drive, and the shared drive has
   * not been deleted.
   *
   * @param Drive $drive
   */
  public function setDrive(Drive $drive)
  {
    $this->drive = $drive;
  }
  /**
   * @return Drive
   */
  public function getDrive()
  {
    return $this->drive;
  }
  /**
   * The ID of the shared drive associated with this change.
   *
   * @param string $driveId
   */
  public function setDriveId($driveId)
  {
    $this->driveId = $driveId;
  }
  /**
   * @return string
   */
  public function getDriveId()
  {
    return $this->driveId;
  }
  /**
   * The updated state of the file. Present if the type is file and the file has
   * not been removed from this list of changes.
   *
   * @param DriveFile $file
   */
  public function setFile(DriveFile $file)
  {
    $this->file = $file;
  }
  /**
   * @return DriveFile
   */
  public function getFile()
  {
    return $this->file;
  }
  /**
   * The ID of the file which has changed.
   *
   * @param string $fileId
   */
  public function setFileId($fileId)
  {
    $this->fileId = $fileId;
  }
  /**
   * @return string
   */
  public function getFileId()
  {
    return $this->fileId;
  }
  /**
   * Identifies what kind of resource this is. Value: the fixed string
   * `"drive#change"`.
   *
   * @param string $kind
   */
  public function setKind($kind)
  {
    $this->kind = $kind;
  }
  /**
   * @return string
   */
  public function getKind()
  {
    return $this->kind;
  }
  /**
   * Whether the file or shared drive has been removed from this list of
   * changes, for example by deletion or loss of access.
   *
   * @param bool $removed
   */
  public function setRemoved($removed)
  {
    $this->removed = $removed;
  }
  /**
   * @return bool
   */
  public function getRemoved()
  {
    return $this->removed;
  }
  /**
   * Deprecated: Use `drive` instead.
   *
   * @deprecated
   * @param TeamDrive $teamDrive
   */
  public function setTeamDrive(TeamDrive $teamDrive)
  {
    $this->teamDrive = $teamDrive;
  }
  /**
   * @deprecated
   * @return TeamDrive
   */
  public function getTeamDrive()
  {
    return $this->teamDrive;
  }
  /**
   * Deprecated: Use `driveId` instead.
   *
   * @deprecated
   * @param string $teamDriveId
   */
  public function setTeamDriveId($teamDriveId)
  {
    $this->teamDriveId = $teamDriveId;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getTeamDriveId()
  {
    return $this->teamDriveId;
  }
  /**
   * The time of this change (RFC 3339 date-time).
   *
   * @param string $time
   */
  public function setTime($time)
  {
    $this->time = $time;
  }
  /**
   * @return string
   */
  public function getTime()
  {
    return $this->time;
  }
  /**
   * Deprecated: Use `changeType` instead.
   *
   * @deprecated
   * @param string $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getType()
  {
    return $this->type;
  }
}

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