📂 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: AccessProposal.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 AccessProposal extends \Google\Collection
{
  protected $collection_key = 'rolesAndViews';
  /**
   * The creation time.
   *
   * @var string
   */
  public $createTime;
  /**
   * The file ID that the proposal for access is on.
   *
   * @var string
   */
  public $fileId;
  /**
   * The ID of the access proposal.
   *
   * @var string
   */
  public $proposalId;
  /**
   * The email address of the user that will receive permissions, if accepted.
   *
   * @var string
   */
  public $recipientEmailAddress;
  /**
   * The message that the requester added to the proposal.
   *
   * @var string
   */
  public $requestMessage;
  /**
   * The email address of the requesting user.
   *
   * @var string
   */
  public $requesterEmailAddress;
  protected $rolesAndViewsType = AccessProposalRoleAndView::class;
  protected $rolesAndViewsDataType = 'array';

  /**
   * The creation time.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * The file ID that the proposal for access is on.
   *
   * @param string $fileId
   */
  public function setFileId($fileId)
  {
    $this->fileId = $fileId;
  }
  /**
   * @return string
   */
  public function getFileId()
  {
    return $this->fileId;
  }
  /**
   * The ID of the access proposal.
   *
   * @param string $proposalId
   */
  public function setProposalId($proposalId)
  {
    $this->proposalId = $proposalId;
  }
  /**
   * @return string
   */
  public function getProposalId()
  {
    return $this->proposalId;
  }
  /**
   * The email address of the user that will receive permissions, if accepted.
   *
   * @param string $recipientEmailAddress
   */
  public function setRecipientEmailAddress($recipientEmailAddress)
  {
    $this->recipientEmailAddress = $recipientEmailAddress;
  }
  /**
   * @return string
   */
  public function getRecipientEmailAddress()
  {
    return $this->recipientEmailAddress;
  }
  /**
   * The message that the requester added to the proposal.
   *
   * @param string $requestMessage
   */
  public function setRequestMessage($requestMessage)
  {
    $this->requestMessage = $requestMessage;
  }
  /**
   * @return string
   */
  public function getRequestMessage()
  {
    return $this->requestMessage;
  }
  /**
   * The email address of the requesting user.
   *
   * @param string $requesterEmailAddress
   */
  public function setRequesterEmailAddress($requesterEmailAddress)
  {
    $this->requesterEmailAddress = $requesterEmailAddress;
  }
  /**
   * @return string
   */
  public function getRequesterEmailAddress()
  {
    return $this->requesterEmailAddress;
  }
  /**
   * A wrapper for the role and view of an access proposal. For more
   * information, see [Roles and
   * permissions](https://developers.google.com/workspace/drive/api/guides/ref-
   * roles).
   *
   * @param AccessProposalRoleAndView[] $rolesAndViews
   */
  public function setRolesAndViews($rolesAndViews)
  {
    $this->rolesAndViews = $rolesAndViews;
  }
  /**
   * @return AccessProposalRoleAndView[]
   */
  public function getRolesAndViews()
  {
    return $this->rolesAndViews;
  }
}

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